Add getting, additional change from branch, quick fix

This commit is contained in:
Gregory John Casamento 2023-12-28 11:20:12 -05:00
parent a5f92ecb8b
commit 969fe4c870
2 changed files with 6 additions and 0 deletions

View file

@ -273,6 +273,7 @@ APPKIT_EXPORT NSGraphicsContext *GSCurrentContext(void);
/* Private method for handling shadows */
- (void) setShadow: (NSShadow *)shadow;
- (NSShadow *) shadow;
@end
#endif

View file

@ -522,6 +522,11 @@ NSGraphicsContext *GSCurrentContext(void)
ASSIGN(_shadow, shadow);
}
- (NSShadow *) shadow
{
return _shadow;
}
@end
@implementation NSGraphicsContext (Private)