Add NSAppearanceCustomization to NSApplication and NSView

This commit is contained in:
ethanc8 2023-02-02 18:13:34 -06:00 committed by ethanc8
parent 6aff0bd0f8
commit 2303052e50
5 changed files with 39 additions and 270 deletions

View file

@ -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;
}
/*