Revision: 4840
http://skim-app.svn.sourceforge.net/skim-app/?rev=4840&view=rev
Author: hofman
Date: 2008-10-21 09:37:36 +0000 (Tue, 21 Oct 2008)
Log Message:
-----------
Revert earlier commits, and don't use source list background for tables, as it
looks to dark
Modified Paths:
--------------
trunk/NSColor_SKExtensions.m
Modified: trunk/NSColor_SKExtensions.m
===================================================================
--- trunk/NSColor_SKExtensions.m 2008-10-21 09:28:59 UTC (rev 4839)
+++ trunk/NSColor_SKExtensions.m 2008-10-21 09:37:36 UTC (rev 4840)
@@ -47,25 +47,15 @@
+ (NSColor *)tableBackgroundColor {
static NSColor *tableBackgroundColor = nil;
- if (nil == tableBackgroundColor) {
- if ([self respondsToSelector:@selector(_sourceListBackgroundColor)])
- tableBackgroundColor = [[self _sourceListBackgroundColor]
colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
- else
- tableBackgroundColor = [NSColor colorWithCalibratedRed:0.905882
green:0.929412 blue:0.964706 alpha:1.0];
- [tableBackgroundColor retain];
- }
+ if (nil == tableBackgroundColor)
+ tableBackgroundColor = [[NSColor colorWithCalibratedRed:0.905882
green:0.929412 blue:0.964706 alpha:1.0] retain];
return tableBackgroundColor;
}
+ (NSColor *)secondarySelectedTableColor {
static NSColor *secondarySelectedTableColor = nil;
- if (nil == secondarySelectedTableColor) {
- if ([self respondsToSelector:@selector(_sourceListBackgroundColor)])
- secondarySelectedTableColor = [NSColor
colorWithCalibratedRed:0.671373 green:0.693334 blue:0.718431 alpha:1.0];
- else
- secondarySelectedTableColor = [NSColor
colorWithCalibratedRed:0.724706 green:0.743529 blue:0.771765 alpha:1.0];
- [secondarySelectedTableColor retain];
- }
+ if (nil == secondarySelectedTableColor)
+ secondarySelectedTableColor = [[NSColor
colorWithCalibratedRed:0.724706 green:0.743529 blue:0.771765 alpha:1.0] retain];
return secondarySelectedTableColor;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit