mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 18:46:36 +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
|
@ -34,7 +34,7 @@
|
|||
#include "AppKit/NSFont.h"
|
||||
#include "AppKit/NSGraphics.h"
|
||||
#include "AppKit/NSTextFieldCell.h"
|
||||
#include "GNUstepGUI/GSDrawFunctions.h"
|
||||
#include "GNUstepGUI/GSTheme.h"
|
||||
|
||||
static NSColor *shadowCol;
|
||||
|
||||
|
@ -361,7 +361,10 @@ static NSColor *shadowCol;
|
|||
}
|
||||
else if (_cell.is_bezeled)
|
||||
{
|
||||
NSRect frame = [GSDrawFunctions drawWhiteBezel: borderedFrame : NSZeroRect];
|
||||
NSRect frame;
|
||||
|
||||
frame = [[GSTheme theme] drawWhiteBezel: borderedFrame
|
||||
withClip: NSZeroRect];
|
||||
[[NSColor textBackgroundColor] set];
|
||||
NSRectFill (frame);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue