Add appearance names

This commit is contained in:
Paul Rouget
2017-03-15 13:50:28 +01:00
parent 1b69af69a6
commit 142bf3bbc0
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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"
+4
View File
@@ -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;