Revision: 3642
http://skim-app.svn.sourceforge.net/skim-app/?rev=3642&view=rev
Author: hofman
Date: 2008-04-05 14:59:12 -0700 (Sat, 05 Apr 2008)
Log Message:
-----------
Smaller images for display mode toolbar items.
Modified Paths:
--------------
trunk/NSImage_SKExtensions.m
Modified: trunk/NSImage_SKExtensions.m
===================================================================
--- trunk/NSImage_SKExtensions.m 2008-04-05 21:41:15 UTC (rev 3641)
+++ trunk/NSImage_SKExtensions.m 2008-04-05 21:59:12 UTC (rev 3642)
@@ -558,13 +558,13 @@
[NSGraphicsContext saveGraphicsState];
[shadow1 set];
[fgColor setFill];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(8.0, 3.0, 11.0 , 14.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(9.0, 4.0, 9.0 , 12.0)];
[path fill];
[NSGraphicsContext restoreGraphicsState];
[NSGraphicsContext saveGraphicsState];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(9.0, 4.0, 9.0 , 12.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(10.0, 5.0, 7.0 , 10.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.337 blue:0.814 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.584 blue:0.872 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(10.0, 5.0, 7.0 , 10.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(11.0, 6.0, 5.0 , 8.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.431 blue:0.891 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.636 blue:0.944 alpha:1.0]];
[NSGraphicsContext restoreGraphicsState];
[toolbarSinglePageImage unlockFocus];
@@ -575,16 +575,16 @@
[NSGraphicsContext saveGraphicsState];
[shadow1 set];
[fgColor setFill];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(2.0, 3.0, 11.0 , 14.0)];
- [path appendBezierPathWithRect:NSMakeRect(14.0, 3.0, 11.0 , 14.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(4.0, 4.0, 9.0 , 12.0)];
+ [path appendBezierPathWithRect:NSMakeRect(14.0, 4.0, 9.0 , 12.0)];
[path fill];
[NSGraphicsContext restoreGraphicsState];
[NSGraphicsContext saveGraphicsState];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(3.0, 4.0, 9.0 , 12.0)];
- [path appendBezierPathWithRect:NSMakeRect(15.0, 4.0, 9.0 , 12.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(5.0, 5.0, 7.0 , 10.0)];
+ [path appendBezierPathWithRect:NSMakeRect(15.0, 5.0, 7.0 , 10.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.337 blue:0.814 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.584 blue:0.872 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(4.0, 5.0, 7.0 , 10.0)];
- [path appendBezierPathWithRect:NSMakeRect(16.0, 5.0, 7.0 , 10.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(6.0, 6.0, 5.0 , 8.0)];
+ [path appendBezierPathWithRect:NSMakeRect(16.0, 6.0, 5.0 , 8.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.431 blue:0.891 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.636 blue:0.944 alpha:1.0]];
[NSGraphicsContext restoreGraphicsState];
[toolbarTwoUpImage unlockFocus];
@@ -595,20 +595,20 @@
[NSGraphicsContext saveGraphicsState];
[shadow1 set];
[fgColor setFill];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(8.0, 11.0, 11.0 , 6.0)];
- [path appendBezierPathWithRect:NSMakeRect(8.0, 3.0, 11.0 , 7.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(9.0, 11.0, 9.0 , 5.0)];
+ [path appendBezierPathWithRect:NSMakeRect(9.0, 4.0, 9.0 , 6.0)];
[path fill];
[NSGraphicsContext restoreGraphicsState];
[NSGraphicsContext saveGraphicsState];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(8.0, 3.0, 11.0 , 14.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(9.0, 4.0, 9.0 , 12.0)];
[path addClip];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(9.0, 12.0, 9.0 , 12.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(10.0, 12.0, 7.0 ,
10.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.337 blue:0.814 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.584 blue:0.872 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(10.0, 13.0, 7.0 ,
10.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(11.0, 13.0, 5.0 , 8.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.431 blue:0.891 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.636 blue:0.944 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(9.0, -3.0, 9.0 , 12.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(10.0, -1.0, 7.0 ,
10.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.337 blue:0.814 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.584 blue:0.872 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(10.0, -2.0, 7.0 ,
10.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(11.0, 0.0, 5.0 , 8.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.431 blue:0.891 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.636 blue:0.944 alpha:1.0]];
[NSGraphicsContext restoreGraphicsState];
[toolbarSinglePageContinuousImage unlockFocus];
@@ -619,26 +619,26 @@
[NSGraphicsContext saveGraphicsState];
[shadow1 set];
[fgColor setFill];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(2.0, 11.0, 11.0 , 6.0)];
- [path appendBezierPathWithRect:NSMakeRect(14.0, 11.0, 11.0 , 6.0)];
- [path appendBezierPathWithRect:NSMakeRect(2.0, 3.0, 11.0 , 7.0)];
- [path appendBezierPathWithRect:NSMakeRect(14.0, 3.0, 11.0 , 7.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(4.0, 11.0, 9.0 , 5.0)];
+ [path appendBezierPathWithRect:NSMakeRect(14.0, 11.0, 9.0 , 5.0)];
+ [path appendBezierPathWithRect:NSMakeRect(4.0, 4.0, 9.0 , 6.0)];
+ [path appendBezierPathWithRect:NSMakeRect(14.0, 4.0, 9.0 , 6.0)];
[path fill];
[NSGraphicsContext restoreGraphicsState];
[NSGraphicsContext saveGraphicsState];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(2.0, 3.0, 23.0 , 14.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(4.0, 4.0, 19.0 , 12.0)];
[path addClip];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(3.0, 12.0, 9.0 , 12.0)];
- [path appendBezierPathWithRect:NSMakeRect(15.0, 12.0, 9.0 , 12.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(5.0, 12.0, 7.0 , 10.0)];
+ [path appendBezierPathWithRect:NSMakeRect(15.0, 12.0, 7.0 , 10.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.337 blue:0.814 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.584 blue:0.872 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(4.0, 13.0, 7.0 , 10.0)];
- [path appendBezierPathWithRect:NSMakeRect(16.0, 13.0, 7.0 , 10.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(6.0, 13.0, 5.0 , 8.0)];
+ [path appendBezierPathWithRect:NSMakeRect(16.0, 13.0, 5.0 , 8.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.431 blue:0.891 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.636 blue:0.944 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(3.0, -3.0, 9.0 , 12.0)];
- [path appendBezierPathWithRect:NSMakeRect(15.0, -3.0, 9.0 , 12.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(5.0, -1.0, 7.0 , 10.0)];
+ [path appendBezierPathWithRect:NSMakeRect(15.0, -1.0, 7.0 , 10.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.337 blue:0.814 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.584 blue:0.872 alpha:1.0]];
- path = [NSBezierPath bezierPathWithRect:NSMakeRect(4.0, -2.0, 7.0 , 10.0)];
- [path appendBezierPathWithRect:NSMakeRect(16.0, -2.0, 7.0 , 10.0)];
+ path = [NSBezierPath bezierPathWithRect:NSMakeRect(6.0, 0.0, 5.0 , 8.0)];
+ [path appendBezierPathWithRect:NSMakeRect(16.0, 0.0, 5.0 , 8.0)];
[path fillPathVerticallyWithStartColor:[CIColor colorWithRed:0.0
green:0.431 blue:0.891 alpha:1.0] endColor:[CIColor colorWithRed:0.0
green:0.636 blue:0.944 alpha:1.0]];
[NSGraphicsContext restoreGraphicsState];
[toolbarTwoUpContinuousImage unlockFocus];
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 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit