diff --git a/Cargo.toml b/Cargo.toml index 1f57bc8..63bdf3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "cocoa" description = "Bindings to Cocoa for OS X" homepage = "https://github.com/servo/cocoa-rs" repository = "https://github.com/servo/cocoa-rs" -version = "0.8.0" +version = "0.8.1" authors = ["The Servo Project Developers"] license = "MIT / Apache-2.0" diff --git a/src/appkit.rs b/src/appkit.rs index 3996612..8b82aa4 100644 --- a/src/appkit.rs +++ b/src/appkit.rs @@ -81,6 +81,10 @@ extern { // Pasteboard reading options - OS X v10.6 and later. (NSString *) pub static NSPasteboardURLReadingFileURLsOnlyKey: id; pub static NSPasteboardURLReadingContentsConformToTypesKey: id; + + // NSAppearance names. (NSString *) + pub static NSAppearanceNameVibrantDark: id; + pub static NSAppearanceNameVibrantLight: id; } pub const NSAppKitVersionNumber10_0: f64 = 577.0;