mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:07:38 +00:00
Add shadow method to NSGraphicsContext and add set method to NSShadow
This commit is contained in:
parent
345b1b4065
commit
9fab419042
3 changed files with 16 additions and 1 deletions
|
@ -320,6 +320,7 @@ NSGraphicsContext *GSCurrentContext(void)
|
|||
DESTROY(focus_stack);
|
||||
DESTROY(context_data);
|
||||
DESTROY(context_info);
|
||||
DESTROY(_shadow);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
@ -515,6 +516,12 @@ NSGraphicsContext *GSCurrentContext(void)
|
|||
{
|
||||
}
|
||||
|
||||
/* Private method for handling shadows */
|
||||
- (void) setShadow: (NSShadow *)shadow
|
||||
{
|
||||
ASSIGN(_shadow, shadow);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSGraphicsContext (Private)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue