Fixes for system colors

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4777 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-08-31 09:19:39 +00:00
parent 7ecbd8da9d
commit a3c6189002
14 changed files with 1013 additions and 886 deletions

View file

@ -48,7 +48,7 @@
//
// Instance methods
//
- initWithFrame: (NSRect)frameRect
- (id) initWithFrame: (NSRect)frameRect
{
[super initWithFrame: frameRect];
@ -65,9 +65,9 @@
[super dealloc];
}
//
// Drawing
//
/*
* Drawing
*/
- (void) drawRect: (NSRect)rect
{
NSRect aRect = bounds;
@ -83,10 +83,10 @@
NSDrawButton(aRect, rect);
/*
* Fill in grey.
* Fill in control color.
*/
aRect = NSInsetRect(aRect, 2.0, 2.0);
[[NSColor lightGrayColor] set];
[[NSColor controlColor] set];
NSRectFill(NSIntersectionRect(aRect, rect));
/*