Refresh windows when OS appearance changes
This commit is contained in:
parent
0f9ff57568
commit
f67e2bea29
14 changed files with 304 additions and 67 deletions
|
@ -52,6 +52,11 @@ use time::UtcOffset;
|
|||
#[allow(non_upper_case_globals)]
|
||||
const NSUTF8StringEncoding: NSUInteger = 4;
|
||||
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const NSViewLayerContentsRedrawDuringViewResize: NSInteger = 2;
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const NSKeyValueObservingOptionNew: NSInteger = 1;
|
||||
|
||||
const MAC_PLATFORM_IVAR: &str = "platform";
|
||||
static mut APP_CLASS: *const Class = ptr::null();
|
||||
static mut APP_DELEGATE_CLASS: *const Class = ptr::null();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue