SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
Cocoa/BigSurToolbar.h
1 #import <Cocoa/Cocoa.h>
2
3 /* Backport the toolbarStyle property to allow compilation with older SDKs*/
4 #ifndef __MAC_10_16
5 typedef NS_ENUM(NSInteger, NSWindowToolbarStyle) {
6 // The default value. The style will be determined by the window's given configuration
7 NSWindowToolbarStyleAutomatic,
8 // The toolbar will appear below the window title
9 NSWindowToolbarStyleExpanded,
10 // The toolbar will appear below the window title and the items in the toolbar will attempt to have equal widths when possible
11 NSWindowToolbarStylePreference,
12 // The window title will appear inline with the toolbar when visible
13 NSWindowToolbarStyleUnified,
14 // Same as NSWindowToolbarStyleUnified, but with reduced margins in the toolbar allowing more focus to be on the contents of the window
15 NSWindowToolbarStyleUnifiedCompact
16 } API_AVAILABLE(macos(11.0));
17
18 @interface NSWindow (toolbarStyle)
19 @property (nonatomic) NSWindowToolbarStyle toolbarStyle API_AVAILABLE(macos(11.0));
20 @end
21
22 @interface NSImage (SFSymbols)
23 + (instancetype)imageWithSystemSymbolName:(NSString *)symbolName accessibilityDescription:(NSString *)description API_AVAILABLE(macos(11.0));
24 @end
25
26 #endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.