Author: mlytwyn
Date: Sun Feb 12 21:46:28 2017
New Revision: 40341
URL: http://svn.gna.org/viewcvs/gnustep?rev=40341&view=rev
Log:
Change theme default vlaue for alternating row color
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSColor.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSColor.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSColor.m?rev=40341&r1=40340&r2=40341&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSColor.m (original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSColor.m Sun Feb 12
21:46:28 2017
@@ -187,6 +187,7 @@
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 @@
(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 @@
white, @"windowFrameTextColor",
white, @"rowBackgroundColor",
- lightGray, @"alternateRowBackgroundColor",
+ alternateRowColor, @"alternateRowBackgroundColor",
nil];
systemColors = RETAIN([NSColorList colorListNamed: @"System"]);
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs