From 80b970b4769317c6e83a62bd390e4f3aaf9ea55a Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Thu, 3 May 2018 00:37:58 +0800 Subject: [PATCH] Add NSFullScreenModeApplicationPresentationOptions key and its options --- cocoa/src/appkit.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cocoa/src/appkit.rs b/cocoa/src/appkit.rs index ec17e39..900d5df 100644 --- a/cocoa/src/appkit.rs +++ b/cocoa/src/appkit.rs @@ -84,6 +84,12 @@ extern { // NSAppearance names. (NSString *) pub static NSAppearanceNameVibrantDark: id; pub static NSAppearanceNameVibrantLight: id; + + // Fullscreen mode options - OS X v10.5 and later. (NSString *) + pub static NSFullScreenModeAllScreens: id; + pub static NSFullScreenModeSetting: id; + pub static NSFullScreenModeWindowLevel: id; + pub static NSFullScreenModeApplicationPresentationOptions: id; } pub const NSAppKitVersionNumber10_0: f64 = 577.0;