mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-23 02:11:54 +00:00
New backend access methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6489 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c604091e89
commit
b734a85d04
8 changed files with 90 additions and 28 deletions
|
@ -829,6 +829,11 @@ NSGraphicsContext *GSCurrentContext()
|
|||
methodTable.DPSsetinputstate__ =
|
||||
GET_IMP(@selector(DPSsetinputstate::));
|
||||
|
||||
methodTable.DPScurrentserverdevice_ =
|
||||
GET_IMP(@selector(DPScurrentserverdevice:));
|
||||
methodTable.DPScurrentwindowdevice__ =
|
||||
GET_IMP(@selector(DPScurrentwindowdevice::));
|
||||
|
||||
mptr = NSZoneMalloc(_globalGSZone, sizeof(gsMethodTable));
|
||||
memcpy(mptr, &methodTable, sizeof(gsMethodTable));
|
||||
return mptr;
|
||||
|
@ -2283,4 +2288,15 @@ NSGraphicsContext *GSCurrentContext()
|
|||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (void) DPScurrentserverdevice: (void **)serverptr
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
- (void) DPScurrentwindowdevice: (int)win : (void **)windowptr
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue