Move mouse location code to graphics context.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4381 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-06-09 08:54:08 +00:00
parent 6bbd8536b1
commit e3c716678d
7 changed files with 61 additions and 35 deletions

View file

@ -657,6 +657,8 @@ struct NSWindow_struct
GET_IMP(@selector(DPSDiscardEventsMatchingMask:beforeEvent:));
methodTable.DPSPostEvent_atStart_ =
GET_IMP(@selector(DPSPostEvent:atStart:));
methodTable.DPSmouselocation__ =
GET_IMP(@selector(DPSmouselocation::));
mptr = NSZoneMalloc(_globalGSZone, sizeof(gsMethodTable));
memcpy(mptr, &methodTable, sizeof(gsMethodTable));
@ -1825,4 +1827,8 @@ struct NSWindow_struct
[event_queue addObject: anEvent];
}
- (void) DPSmouselocation: (float*)x : (float*)y
{
[self subclassResponsibility: _cmd];
}
@end