mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
Update NSView with setShadow:/shadow methods
This commit is contained in:
parent
3f30d139bc
commit
33d66e0ddc
2 changed files with 30 additions and 0 deletions
|
@ -735,6 +735,22 @@ PACKAGE_SCOPE
|
|||
@end
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
/*
|
||||
* Core Animation support methods. More methods will be added here as more are implemented.
|
||||
*/
|
||||
|
||||
@class NSShadow;
|
||||
|
||||
@interface NSView (CoreAnimationSupport)
|
||||
|
||||
- (NSShadow *) shadow;
|
||||
|
||||
- (void) setShadow: (NSShadow *)shadow;
|
||||
|
||||
@end
|
||||
#endif
|
||||
|
||||
@class NSAffineTransform;
|
||||
|
||||
/*
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
#import "AppKit/NSPrintInfo.h"
|
||||
#import "AppKit/NSPrintOperation.h"
|
||||
#import "AppKit/NSScrollView.h"
|
||||
#import "AppKit/NSShadow.h"
|
||||
#import "AppKit/NSView.h"
|
||||
#import "AppKit/NSWindow.h"
|
||||
#import "AppKit/NSWorkspace.h"
|
||||
|
@ -5484,3 +5485,16 @@ cmpFrame(id view1, id view2, void *context)
|
|||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSView (CoreAnimationSupport)
|
||||
|
||||
- (NSShadow *) shadow
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (void) setShadow: (NSShadow *)shadow
|
||||
{
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue