Skip to content

Commit

Permalink
Auto merge of #208 - edwin0cheng:fullscreen-mode-options, r=jdm
Browse files Browse the repository at this point in the history
Add NSViewFullScreenModeOptionKey keys

This PR added NSViewFullScreenModeOptionKey values described in [here](https://developer.apple.com/documentation/appkit/nsviewfullscreenmodeoptionkey?language=objc)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/208)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo authored May 2, 2018
2 parents 8f4c416 + 80b970b commit 23d24f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cocoa/src/appkit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 23d24f4

Please sign in to comment.