mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
Add ivar for shadow
This commit is contained in:
parent
33d66e0ddc
commit
9cb00ba871
2 changed files with 6 additions and 3 deletions
|
@ -54,6 +54,7 @@
|
|||
@class NSScrollView;
|
||||
@class NSView;
|
||||
@class NSWindow;
|
||||
@class NSShadow;
|
||||
|
||||
typedef NSInteger NSTrackingRectTag;
|
||||
typedef NSInteger NSToolTipTag;
|
||||
|
@ -193,6 +194,7 @@ PACKAGE_SCOPE
|
|||
NSUInteger _autoresizingMask;
|
||||
NSFocusRingType _focusRingType;
|
||||
NSRect _autoresizingFrameError;
|
||||
NSShadow *_shadow;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -740,8 +742,6 @@ PACKAGE_SCOPE
|
|||
* Core Animation support methods. More methods will be added here as more are implemented.
|
||||
*/
|
||||
|
||||
@class NSShadow;
|
||||
|
||||
@interface NSView (CoreAnimationSupport)
|
||||
|
||||
- (NSShadow *) shadow;
|
||||
|
|
|
@ -772,6 +772,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
|||
}
|
||||
TEST_RELEASE(_cursor_rects);
|
||||
TEST_RELEASE(_tracking_rects);
|
||||
TEST_RELEASE(_shadow);
|
||||
|
||||
[self unregisterDraggedTypes];
|
||||
[self releaseGState];
|
||||
|
||||
|
@ -5490,11 +5492,12 @@ cmpFrame(id view1, id view2, void *context)
|
|||
|
||||
- (NSShadow *) shadow
|
||||
{
|
||||
return nil;
|
||||
return _shadow;
|
||||
}
|
||||
|
||||
- (void) setShadow: (NSShadow *)shadow
|
||||
{
|
||||
ASSIGN(_shadow, shadow);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue