mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 01:11:07 +00:00
Add NSAppearanceCustomization to NSApplication and NSView
This commit is contained in:
parent
6aff0bd0f8
commit
2303052e50
5 changed files with 39 additions and 270 deletions
|
@ -39,6 +39,7 @@
|
|||
#import <AppKit/NSUserInterfaceLayout.h>
|
||||
#import <AppKit/NSLayoutConstraint.h>
|
||||
|
||||
@class NSAppearance;
|
||||
@class NSArray;
|
||||
@class NSAttributedString;
|
||||
@class NSData;
|
||||
|
@ -129,7 +130,7 @@ extern const CGFloat NSViewNoInstrinsicMetric;
|
|||
extern const CGFloat NSViewNoIntrinsicMetric;
|
||||
|
||||
APPKIT_EXPORT_CLASS
|
||||
@interface NSView : NSResponder
|
||||
@interface NSView : NSResponder <NSAppearanceCustomization>
|
||||
{
|
||||
NSRect _frame;
|
||||
NSRect _bounds;
|
||||
|
@ -195,6 +196,7 @@ PACKAGE_SCOPE
|
|||
NSFocusRingType _focusRingType;
|
||||
NSRect _autoresizingFrameError;
|
||||
NSShadow *_shadow;
|
||||
NSAppearance* _appearance;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue