mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Replaced the slider's images with alpha-channel ones. Modified NSSliderCell to draw the background behind
the button using [NSColor controlBackgroundColor]. (images from Ingolf Jandt) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22685 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
75da7d8cdc
commit
dd5173a47a
3 changed files with 4 additions and 0 deletions
Binary file not shown.
Binary file not shown.
|
@ -181,6 +181,10 @@ DEFINE_RINT_IF_MISSING
|
|||
*/
|
||||
- (void) drawKnob: (NSRect)knobRect
|
||||
{
|
||||
NSColor* knobBackgroundColor = [NSColor controlBackgroundColor];
|
||||
[knobBackgroundColor set];
|
||||
NSRectFill (knobRect);
|
||||
|
||||
[_knobCell drawInteriorWithFrame: knobRect inView: _control_view];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue