I always want to override default system control tint for my app NSGraphiteControlTint Does not seem to work. Any suggestions?
NSButton * button = [Window Standard WindowButton: NSWindowCloseButton]; [[Button cell] Set ControlTint: NSGFightControlTintint]; Regards, Eric
You set the AppleAquaColorVarianient priority: < / P> However, if you want to work to launch this app for the first time, then [[NSUserDefaults Standard User Defaults] setInteger: for NSGraphiteControlTintKey: @ "AppleAquaColorVariant"]; main before calling NSApplicationMain , Or you can use a custom sub-class of NSApplication , and before the -init method [super init]
Comments
Post a Comment