Revision: 18409
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18409&view=rev
Author: hofman
Date: 2012-01-16 18:29:42 +0000 (Mon, 16 Jan 2012)
Log Message:
-----------
draw blue gradient on 10.7 for main windows and key windows, not only key
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2012-01-16
10:09:59 UTC (rev 18408)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2012-01-16
18:29:42 UTC (rev 18409)
@@ -2427,7 +2427,7 @@
CGGradientRef gradient;
// color values from DigitalColor Meter on 10.7, using Generic RGB
space
- if ([[self window] isKeyWindow]) {
+ if ([[self window] isKeyWindow] || [[self window] isMainWindow]) {
// ordered as lower/upper
const CGFloat components[8] = { 198.0 / 255.0, 207.0 / 255.0,
216.0 / 255.0, 1.0, 227.0 / 255.0, 232.0 / 255.0, 238.0 / 255.0, 1.0 };
gradient = CGGradientCreateWithColorComponents(cspace, components,
locations, 2);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit