mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 22:41:00 +00:00
* Source/NSSliderCell.m (-drawKnob:): Don't fill the knob
with a background color before drawing the cell. Seems pointless - GNUstep's default knob image is opaque, but filling with a solid color prevents transparent knob images from looking good. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37224 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
59451cf848
commit
7267a3cd1a
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2013-10-13 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSSliderCell.m (-drawKnob:): Don't fill the knob
|
||||||
|
with a background color before drawing the cell. Seems pointless
|
||||||
|
- GNUstep's default knob image is opaque, but filling with a solid
|
||||||
|
color prevents transparent knob images from looking good.
|
||||||
|
|
||||||
2013-10-13 Eric Wasylishen <ewasylishen@gmail.com>
|
2013-10-13 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* Panels/English.lproj/GSPageLayout.gorm:
|
* Panels/English.lproj/GSPageLayout.gorm:
|
||||||
|
|
|
@ -337,10 +337,6 @@ float _floatValueForMousePoint (NSPoint point, NSRect knobRect,
|
||||||
*/
|
*/
|
||||||
- (void) drawKnob: (NSRect)knobRect
|
- (void) drawKnob: (NSRect)knobRect
|
||||||
{
|
{
|
||||||
NSColor* knobBackgroundColor = [NSColor controlBackgroundColor];
|
|
||||||
[knobBackgroundColor set];
|
|
||||||
NSRectFill (knobRect);
|
|
||||||
|
|
||||||
[_knobCell drawInteriorWithFrame: knobRect inView: _control_view];
|
[_knobCell drawInteriorWithFrame: knobRect inView: _control_view];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue