mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:50:38 +00:00
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:
parent
6bbd8536b1
commit
e3c716678d
7 changed files with 61 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue