From: <ho...@us...> - 2009-10-14 20:45:12
|
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. |