source: trunk/Cocoa/Pester/Source/PSAlarmSetController.h@ 361

Last change on this file since 361 was 361, checked in by Nicholas Riley, 16 years ago

VERSION: Updated for 1.1b5.

English.lproj/InfoPlist.strings: Updated for 1.1b5.

English.lproj/MainMenu.nib: Change IB compatibility level to 10.4.
Disable controls which lead to unstable functionality in this version.
Added Sparkle support. Hook up removeMessageButton to
PSAlarmSetController for "-" fallback drawing.

English.lproj/Preferences.nib: Added Sparkle checkbox.

English.lproj/Read Me.nib: Leopard-ized with source list coloring,
highlight and removed focus ring (which caused artifacts anyway).

English.lproj/Snooze until.nib: Use new natural language date strings
and calendar button bezel style.

Info-Pester.plist: Updated for 1.1b5. Added Sparkle support.

NJRDateFormatter.m: Comment out debug logging on every keystroke.

PSAlarmSetController.[hm]: If "-" image exists (on Leopard), don't
draw it with text as well.

PSAlerts.m: Don't describe bounce alert (which is present for
backwards compatibility, but doesn't work yet in this version).

PSPowerManager.m: Temporarily disable; untested in this version.

Pester.xcodeproj: Change Development/Deployment to Debug/Release.
Link to Sparkle. STRIP_INSTALLED_PRODUCT=NO on release version for
now (eventually, can investigate using symbol files).

Read Me.rtfd: Updated for 1.1b5. Use real links. Clean up release
notes. Credit Sparkle and Date::Manip. Clean up styles so they look
better in the read me viewer. Fix Omni link.

Sparkle.diff: Changes to Sparkle, which is included as an external.
These aren't yet automatically applied.

Updates/Application icon.png: The icon converted to a PNG. This will
probably go away as it's too big.

Updates/release-notes.css: Release notes CSS based on the example that
comes with Sparkle.

Updates/release-notes.html: Dummy release notes file; nobody should
see this yet.

Updates/updates.xml: Initial Sparkle appcast file.

package-Pester.sh: Update for xcodebuild, Sparkle, etc. No longer
include source in download.

File size: 2.3 KB
RevLine 
[21]1//
2// PSAlarmSetController.h
3// Pester
4//
5// Created by Nicholas Riley on Tue Oct 08 2002.
6// Copyright (c) 2002 Nicholas Riley. All rights reserved.
7//
8
9#import <AppKit/AppKit.h>
[24]10#import "PSAlarm.h"
[21]11
[34]12@class NJRFSObjectSelector;
[53]13@class NJRIntervalField;
[39]14@class NJRQTMediaPopUpButton;
[34]15@class NJRVoicePopUpButton;
16
[102]17@interface PSAlarmSetController : NSWindowController <NSUserInterfaceValidations> {
[21]18 IBOutlet NSTextField *messageField;
[361]19 IBOutlet NSButton *removeMessageButton;
[21]20 IBOutlet NSMatrix *inAtMatrix;
[53]21 IBOutlet NJRIntervalField *timeInterval;
[21]22 IBOutlet NSPopUpButton *timeIntervalUnits;
[34]23 IBOutlet NSButton *timeIntervalRepeats;
[21]24 IBOutlet NSTextField *timeOfDay;
25 IBOutlet NSTextField *timeDate;
26 IBOutlet NSPopUpButton *timeDateCompletions; // XXX should go away when bug preventing both formatters and popup menus from existing is fixed
[102]27 IBOutlet NSButton *timeCalendarButton;
[53]28 IBOutlet NSButtonCell *editAlert;
29 IBOutlet NSTextField *alertView;
30 IBOutlet NSTabView *alertTabs;
[34]31 IBOutlet NSButtonCell *displayMessage;
32 IBOutlet NSButton *bounceDockIcon;
33 IBOutlet NSButtonCell *playSound;
[39]34 IBOutlet NJRQTMediaPopUpButton *sound;
[133]35 IBOutlet NSButton *soundVolumeButton;
[34]36 IBOutlet NSTextField *soundRepetitions;
37 IBOutlet NSStepper *soundRepetitionStepper;
38 IBOutlet NSTextField *soundRepetitionsLabel;
39 IBOutlet NSButtonCell *doScript;
40 IBOutlet NJRFSObjectSelector *script;
41 IBOutlet NSButtonCell *doSpeak;
42 IBOutlet NJRVoicePopUpButton *voice;
43 IBOutlet NSButton *scriptSelectButton;
[53]44 IBOutlet NSButtonCell *wakeUp;
[21]45 IBOutlet NSTextField *timeSummary;
[53]46 IBOutlet NSButton *cancelButton;
[21]47 IBOutlet NSButton *setButton;
[26]48 NSString *status;
49 NSTimer *updateTimer;
[24]50 PSAlarm *alarm;
[26]51 BOOL isInterval;
[21]52}
53
54- (IBAction)update:(id)sender;
55- (IBAction)dateCompleted:(NSPopUpButton *)sender;
[102]56- (IBAction)showCalendar:(NSButton *)sender;
[21]57- (IBAction)inAtChanged:(id)sender;
[102]58- (IBAction)toggleAlertEditor:(id)sender;
[53]59- (IBAction)editAlertChanged:(id)sender;
[34]60- (IBAction)playSoundChanged:(id)sender;
[133]61- (IBAction)showVolume:(NSButton *)sender;
[34]62- (IBAction)doScriptChanged:(id)sender;
63- (IBAction)doSpeakChanged:(id)sender;
[21]64- (IBAction)setAlarm:(NSButton *)sender;
[41]65- (IBAction)setSoundRepetitionCount:(id)sender;
[21]66
[34]67- (IBAction)silence:(id)sender;
68
[21]69@end
Note: See TracBrowser for help on using the repository browser.