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

@ -130,18 +130,22 @@
fRect = tabRect;
if (item_state == NSSelectedTab) {
fRect.origin.y -= 1;
fRect.size.height += 1;
[[NSColor lightGrayColor] set];
NSRectFill(fRect);
} else if (item_state == NSBackgroundTab) {
[[NSColor lightGrayColor] set];
NSRectFill(fRect);
} else {
[[NSColor lightGrayColor] set];
NSRectFill(fRect);
}
if (item_state == NSSelectedTab)
{
fRect.origin.y -= 1;
fRect.size.height += 1;
[[NSColor controlBackgroundColor] set];
NSRectFill(fRect);
}
else if (item_state == NSBackgroundTab)
{
[[NSColor controlBackgroundColor] set];
NSRectFill(fRect);
}
else
{
[[NSColor controlBackgroundColor] set];
}
lRect = tabRect;
lRect.origin.y += 3;