Author: ericwa
Date: Thu Oct  3 06:51:10 2013
New Revision: 37185

URL: http://svn.gna.org/viewcvs/gnustep?rev=37185&view=rev
Log:
* Headers/Additions/GNUstepGUI/GSTheme.h:
* Source/GSTheme.m:
Declare GSSliderHorizontalTrack and GSSliderVerticalTrack
part names for themeing the background of NSSlider
* Source/GSThemeDrawing.m:
Add new drawSliderBorderAndBackground:frame:inCell:isHorizontal:
method to draw the slider border and background.
* Source/GSThemePrivate.h:
* Source/GSThemeTools.m:
Add a -size method on GSDrawTiles which returns the total
original size of the tiles, so we can easily compute a rect
that scales the tiles in only one dimension.
* Source/NSSliderCell.m:
Override _drawBorderAndBackgroundWithFrame: to call new
GSTheme method. Also, tweak the knob drawing code; the knob
is now centered and drawn at its native size. This still looks
correct with the default slider sizes create by Gorm.

Modified:
    libs/gui/trunk/ChangeLog
    libs/gui/trunk/Headers/Additions/GNUstepGUI/GSTheme.h
    libs/gui/trunk/Source/GSTheme.m
    libs/gui/trunk/Source/GSThemeDrawing.m
    libs/gui/trunk/Source/GSThemePrivate.h
    libs/gui/trunk/Source/GSThemeTools.m
    libs/gui/trunk/Source/NSSliderCell.m


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to