Revision: 5881
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5881&view=rev
Author:   hofman
Date:     2009-10-14 20:44:54 +0000 (Wed, 14 Oct 2009)

Log Message:
-----------
use a single method to make named images

Modified Paths:
--------------
    trunk/NSImage_SKExtensions.h
    trunk/NSImage_SKExtensions.m
    trunk/SKApplicationController.m

Modified: trunk/NSImage_SKExtensions.h
===================================================================
--- trunk/NSImage_SKExtensions.h        2009-10-14 17:10:15 UTC (rev 5880)
+++ trunk/NSImage_SKExtensions.h        2009-10-14 20:44:54 UTC (rev 5881)
@@ -121,8 +121,6 @@
 
 @interface NSImage (SKExtensions)
 
-+ (void)makeToolbarImages;
-+ (void)makeAdornImages;
-+ (void)makeCursorImages;
++ (void)makeImages;
 
 @end

Modified: trunk/NSImage_SKExtensions.m
===================================================================
--- trunk/NSImage_SKExtensions.m        2009-10-14 17:10:15 UTC (rev 5880)
+++ trunk/NSImage_SKExtensions.m        2009-10-14 20:44:54 UTC (rev 5881)
@@ -1866,4 +1866,10 @@
     [zoomOutCursorImage setName:SKImageNameZoomOutCursor];
 }
 
++ (void)makeImages {
+    [NSImage makeAdornImages];
+    [NSImage makeToolbarImages];
+    [NSImage makeCursorImages];
+}
+
 @end

Modified: trunk/SKApplicationController.m
===================================================================
--- trunk/SKApplicationController.m     2009-10-14 17:10:15 UTC (rev 5880)
+++ trunk/SKApplicationController.m     2009-10-14 20:44:54 UTC (rev 5881)
@@ -162,9 +162,7 @@
 }    
 
 - (void)applicationWillFinishLaunching:(NSNotification *)aNotification {
-    [NSImage makeAdornImages];
-    [NSImage makeToolbarImages];
-    [NSImage makeCursorImages];
+    [NSImage makeImages];
 }
 
 - (void)applicationDidFinishLaunching:(NSNotification *)aNotification{


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to