Initial implementation of NSScreen.

Add mouse dragged events for mouse tracking.
Implement methods for converting points to/from views.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1638 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gnustep 1996-06-21 15:27:13 +00:00
parent d4848b7da2
commit acbe822337
10 changed files with 139 additions and 25 deletions

View file

@ -231,6 +231,7 @@ id MB_NSBUTTON_CLASS;
- (void)highlight:(BOOL)flag
{
[cell highlight: flag withFrame: bounds inView: self];
}
//
@ -260,8 +261,8 @@ id MB_NSBUTTON_CLASS;
NSApplication *theApp = [NSApplication sharedApplication];
BOOL mouseUp, done;
NSEvent *e;
unsigned int event_mask = NSLeftMouseDownMask | NSLeftMouseUpMask
| NSMouseMovedMask;
unsigned int event_mask = NSLeftMouseDownMask | NSLeftMouseUpMask |
NSMouseMovedMask | NSLeftMouseDraggedMask | NSRightMouseDraggedMask;
NSDebugLog(@"NSButton mouseDown\n");