mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:50:48 +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
081cba5247
commit
c77bc00720
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…
Add table
Add a link
Reference in a new issue