mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Change theme default vlaue for alternating row color
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40341 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e7db63c99c
commit
c5b424b407
1 changed files with 5 additions and 2 deletions
|
@ -187,6 +187,7 @@ void initSystemColors(void)
|
|||
NSString *gray;
|
||||
NSString *darkGray;
|
||||
NSString *black;
|
||||
NSString *alternateRowColor;
|
||||
|
||||
// Set up a dictionary containing the names of all the system colors
|
||||
// as keys and with colors in string format as values.
|
||||
|
@ -200,7 +201,9 @@ void initSystemColors(void)
|
|||
(double)NSDarkGray, (double)NSDarkGray, (double)NSDarkGray];
|
||||
black = [NSString stringWithFormat: @"%g %g %g",
|
||||
(double)NSBlack, (double)NSBlack, (double)NSBlack];
|
||||
|
||||
alternateRowColor = [NSString stringWithFormat: @"%g %g %g",
|
||||
(double)0.94901960784314, (double)0.94901960784314, (double)0.94901960784314];
|
||||
|
||||
colorStrings = [[NSMutableDictionary alloc]
|
||||
initWithObjectsAndKeys:
|
||||
black, @"alternateSelectedControlColor",
|
||||
|
@ -240,7 +243,7 @@ void initSystemColors(void)
|
|||
white, @"windowFrameTextColor",
|
||||
|
||||
white, @"rowBackgroundColor",
|
||||
lightGray, @"alternateRowBackgroundColor",
|
||||
alternateRowColor, @"alternateRowBackgroundColor",
|
||||
nil];
|
||||
|
||||
systemColors = RETAIN([NSColorList colorListNamed: @"System"]);
|
||||
|
|
Loading…
Reference in a new issue