mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 23:40:48 +00:00
* Headers/Additions/GNUstepGUI/GSTheme.h:
* Source/GSThemeDrawing.m: * Source/NSBrowser.m: * Source/NSTableHeaderCell.m: Add custom color names tableHeaderTextColor and browserHeaderTextColor for table and browser headers. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
07d2fc465b
commit
e6357523a4
5 changed files with 56 additions and 3 deletions
|
@ -205,6 +205,17 @@ static BOOL browserUseBezels;
|
|||
|
||||
@implementation GSBrowserTitleCell
|
||||
|
||||
// Default appearance of GSBrowserTitleCell
|
||||
- (id) initTextCell: (NSString *)aString
|
||||
{
|
||||
self = [super initTextCell: aString];
|
||||
if (!self)
|
||||
return nil;
|
||||
|
||||
[self setTextColor: [[GSTheme theme] browserHeaderTextColor]];
|
||||
return self;
|
||||
}
|
||||
|
||||
- (NSRect) drawingRectForBounds: (NSRect)theRect
|
||||
{
|
||||
// This adjustment must match the drawn border
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue