Revision: 5346
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5346&view=rev
Author:   hofman
Date:     2009-05-02 12:26:15 +0000 (Sat, 02 May 2009)

Log Message:
-----------
use darker edge color at top of edge view, matching NSScrollView

Modified Paths:
--------------
    trunk/BDSKEdgeView.m
    trunk/SKMainWindowController_Actions.m

Modified: trunk/BDSKEdgeView.m
===================================================================
--- trunk/BDSKEdgeView.m        2009-05-01 12:38:55 UTC (rev 5345)
+++ trunk/BDSKEdgeView.m        2009-05-02 12:26:15 UTC (rev 5346)
@@ -44,8 +44,9 @@
 
 - (id)initWithFrame:(NSRect)frame {
     if (self = [super initWithFrame:frame]) {
-       NSColor *color = [NSColor colorWithCalibratedWhite:0.75 alpha:1.0];
-          edgeColors = [[NSMutableArray alloc] initWithObjects:color, color, 
color, color, nil];
+       NSColor *lightColor = [NSColor colorWithCalibratedWhite:0.75 alpha:1.0];
+       NSColor *darkColor = [NSColor colorWithCalibratedWhite:0.55 alpha:1.0];
+          edgeColors = [[NSMutableArray alloc] initWithObjects:lightColor, 
lightColor, lightColor, darkColor, nil];
           edges = BDSKNoEdgeMask; // we start with no edge, so we can use this 
in IB without getting weird offsets
     }
     return self;

Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m      2009-05-01 12:38:55 UTC (rev 
5345)
+++ trunk/SKMainWindowController_Actions.m      2009-05-02 12:26:15 UTC (rev 
5346)
@@ -1148,7 +1148,6 @@
         if (secondaryPdfView == nil) {
             secondaryPdfEdgeView = [[BDSKEdgeView alloc] initWithFrame:frame2];
             [secondaryPdfEdgeView setEdges:BDSKEveryEdgeMask];
-            [secondaryPdfEdgeView setColor:[NSColor lightGrayColor] 
forEdge:NSMaxYEdge];
             secondaryPdfView = [[SKSecondaryPDFView alloc] 
initWithFrame:[[secondaryPdfEdgeView contentView] bounds]];
             [secondaryPdfView setAutoresizingMask:NSViewWidthSizable | 
NSViewHeightSizable];
             [secondaryPdfEdgeView addSubview:secondaryPdfView];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to