mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:50:48 +00:00
theme reorganisation/tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23586 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c7ab1a2a90
commit
ed5990f599
24 changed files with 116 additions and 182 deletions
|
@ -52,7 +52,7 @@
|
|||
#include "AppKit/NSEvent.h"
|
||||
#include "AppKit/NSWindow.h"
|
||||
#include "AppKit/NSBezierPath.h"
|
||||
#include "GNUstepGUI/GSDrawFunctions.h"
|
||||
#include "GNUstepGUI/GSTheme.h"
|
||||
|
||||
DEFINE_RINT_IF_MISSING
|
||||
|
||||
|
@ -206,7 +206,7 @@ static NSTextFieldCell *titleCell;
|
|||
return;
|
||||
}
|
||||
|
||||
[GSDrawFunctions drawGrayBezel: cellFrame : NSZeroRect];
|
||||
[[GSTheme theme] drawGrayBezel: cellFrame withClip: NSZeroRect];
|
||||
[self drawInteriorWithFrame: cellFrame inView: controlView];
|
||||
}
|
||||
@end
|
||||
|
@ -2219,7 +2219,7 @@ static NSTextFieldCell *titleCell;
|
|||
|
||||
if ((NSIntersectsRect (scrollerBorderRect, rect) == YES) && _window)
|
||||
{
|
||||
[GSDrawFunctions drawGrayBezel: scrollerBorderRect : rect];
|
||||
[[GSTheme theme] drawGrayBezel: scrollerBorderRect withClip: rect];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2230,7 +2230,7 @@ static NSTextFieldCell *titleCell;
|
|||
float hScrollerWidth = _hasHorizontalScroller ? scrollerWidth : 0;
|
||||
|
||||
// Columns borders
|
||||
[GSDrawFunctions drawGrayBezel: _bounds : rect];
|
||||
[[GSTheme theme] drawGrayBezel: _bounds withClip: rect];
|
||||
|
||||
[[NSColor blackColor] set];
|
||||
visibleColumns = [self numberOfVisibleColumns];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue