Changeset 330 for trunk/Cocoa/AntiRSI/AntiRSI.h
- Timestamp:
- 08/06/07 19:01:05 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/AntiRSI/AntiRSI.h
r329 r330 40 40 IBOutlet NSTextField *time; 41 41 IBOutlet NSTextField *next_break; 42 IBOutlet NSTextField *session_time; 42 43 IBOutlet NSTextField *status; 43 IBOutlet NSTextField *version; 44 IBOutlet NSTextField *version; // XXX unused? 45 46 // dock menu 47 IBOutlet NSMenu *dock_menu; 48 IBOutlet NSMenuItem *session_time_item; 44 49 45 50 // dock icon image … … 60 65 double work_break_taking_cached_t; 61 66 double work_break_taking_cached_date; 67 double session_t; 62 68 double date; 63 69 … … 111 117 - (IBAction)breakNow:(id)sender; 112 118 119 // reset session time menu item 120 - (IBAction)resetSession:(id)sender; 121 122 // returns string of the form "Session: 12:34:56" 123 - (NSString *)sessionTimeString; 124 113 125 // one second ticks away ... 114 126 - (void)tick:(NSTimer *)timer; … … 126 138 - (void)endBreak; 127 139 128 // time left string 129 - (void)drawTimeLeft:(double)seconds; 130 131 // time to next break string 132 - (void)drawNextBreak:(int)seconds; 140 // update window 141 - (void)updateBreakWindowDuration:(double)duration progress:(double)progress_t nextBreak:(double)nextBreak; 133 142 134 143 @end
Note:
See TracChangeset
for help on using the changeset viewer.