mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Add getting, additional change from branch, quick fix
This commit is contained in:
parent
a5f92ecb8b
commit
969fe4c870
2 changed files with 6 additions and 0 deletions
|
@ -273,6 +273,7 @@ APPKIT_EXPORT NSGraphicsContext *GSCurrentContext(void);
|
|||
|
||||
/* Private method for handling shadows */
|
||||
- (void) setShadow: (NSShadow *)shadow;
|
||||
- (NSShadow *) shadow;
|
||||
|
||||
@end
|
||||
#endif
|
||||
|
|
|
@ -522,6 +522,11 @@ NSGraphicsContext *GSCurrentContext(void)
|
|||
ASSIGN(_shadow, shadow);
|
||||
}
|
||||
|
||||
- (NSShadow *) shadow
|
||||
{
|
||||
return _shadow;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSGraphicsContext (Private)
|
||||
|
|
Loading…
Reference in a new issue