Add color for disabled state

This commit is contained in:
Gregory John Casamento 2020-04-24 02:34:59 -04:00
parent ab83e1ef81
commit fdd51ae2df
4 changed files with 37 additions and 8 deletions

View file

@ -960,10 +960,13 @@ APPKIT_EXPORT NSString *GSThemeWillDeactivateNotification;
// NSSwitch drawing methods
- (void) drawSwitchKnob: (NSRect)frame
forState: (NSControlStateValue)value;
forState: (NSControlStateValue)value
enabled: (BOOL)enabled;
- (void) drawSwitchBezel: (NSRect)frame
forState: (NSControlStateValue)v;
forState: (NSControlStateValue)v
enabled: (BOOL)enabled;
- (void) drawSwitchInRect: (NSRect)rect
forState: (NSControlStateValue)state