mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 07:10:37 +00:00
Better colors
This commit is contained in:
parent
dae6b91c99
commit
da0f7ded36
3 changed files with 22 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue