mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:07:38 +00:00
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:
parent
7ecbd8da9d
commit
a3c6189002
14 changed files with 1013 additions and 886 deletions
|
@ -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));
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue