Better colors

This commit is contained in:
Gregory John Casamento 2020-04-17 18:03:26 -04:00
parent dae6b91c99
commit da0f7ded36
3 changed files with 22 additions and 8 deletions

View file

@ -965,13 +965,15 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
forState: (NSControlStateValue)value;
- (void) drawSwitchBezel: (NSRect)frame
withColor: (NSColor*)backgroundColor
withOnColor: (NSColor*)onColor
withOffColor: (NSColor*)offColor
forState: (NSControlStateValue)v;
- (void) drawSwitchInRect: (NSRect)rect
forState: (NSControlStateValue)state
enabled: (BOOL)enabled
bezelColor: (NSColor *)bColor
bezelOnColor: (NSColor *)bOnColor
bezelOffColor: (NSColor *)bOffColor
knobColor: (NSColor *)kColor;
// NSSegmentedControl drawing methods