Changeset 131 for trunk/Cocoa/Pester/Source/PSApplication.m
- Timestamp:
- 04/01/03 21:25:02 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/PSApplication.m
r129 r131 16 16 #import "PSAlarms.h" 17 17 #import "PSTimer.h" 18 #import "NJRHotKey.h" 19 20 #import <Carbon/Carbon.h> 18 21 19 22 @implementation PSApplication … … 27 30 [PSAlarms setUp]; 28 31 [self setDelegate: self]; 32 [PSPreferencesController readPreferences]; 29 33 [super finishLaunching]; 30 34 } 35 36 #pragma mark actions 31 37 32 38 - (IBAction)showHelp:(id)sender; … … 55 61 } 56 62 57 #pragma mark preferences58 59 63 - (IBAction)orderFrontPreferencesPanel:(id)sender; 60 64 { … … 64 68 [preferencesController showWindow: self]; 65 69 } 70 71 #pragma mark update timer 66 72 67 73 - (void)_resetUpdateTimer; … … 108 114 textOrigin = NSMakePoint(imageSize.width / 2 - textSize.width / 2, 109 115 imageSize.height / 2 - textSize.height / 2); 110 frameRect = NSInsetRect(NSMakeRect(textOrigin.x, textOrigin.y, textSize.width, textSize.height), 111 -4, -2); 116 frameRect = NSInsetRect(NSMakeRect(textOrigin.x, textOrigin.y, textSize.width, textSize.height), -4, -2); 112 117 113 118 [tile lockFocus];
Note:
See TracChangeset
for help on using the changeset viewer.