whatever.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16459 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Michael Silva 2003-04-14 00:03:09 +00:00
parent e9ccc289d5
commit 42689ac827
4 changed files with 10 additions and 29 deletions

View file

@ -258,31 +258,8 @@ NSImage *images[maxCount];
r = NSIntersectionRect(r,rect);
if (!NSIsEmptyRect(r))
{
if (NSInterfaceStyleForKey(@"NSProgressIndicatorInterfaceStyle", nil)
== GSGtkInterfaceStyle)
{
NSRectEdge sides[] = {NSMaxXEdge, NSMinYEdge,
NSMinXEdge, NSMaxYEdge,
NSMaxXEdge, NSMinYEdge};
float grays[] = {NSBlack, NSBlack,
NSLightGray, NSLightGray,
NSDarkGray, NSDarkGray};
NSRect rect;
rect = NSDrawTiledRects(r, r,
sides, grays, 6);
/* This should perhaps be something else to ease in
* color themeing.
*/
[[NSColor scrollBarColor] set];
NSRectFill(rect);
}
else /* default case */
{
[fillColour set];
NSRectFill(r);
}
[fillColour set];
NSRectFill(r);
}
}
}