1 #import <ITKit/ITKit.h>
2 #import <Cocoa/Cocoa.h>
4 @interface Controller : NSObject
6 IBOutlet NSWindow *window;
8 // ITStatusItem Support
9 ITStatusItem *statusItem;
10 IBOutlet NSMenu *statusItemMenu;
11 IBOutlet NSButton *showStatusItemCheckBox;
12 IBOutlet NSButton *showImageCheckBox;
13 IBOutlet NSButton *useInvertedCheckBox;
14 IBOutlet NSButton *showTitleCheckBox;
17 IBOutlet ITButton *button;
20 IBOutlet ITTabView *tabView;
22 // ITBevelView support
23 IBOutlet ITBevelView *bevelView;
25 // ITTextField Support
26 IBOutlet ITTextField *testTextField;
28 // ITTransientStatusWindow Support
29 ITTransientStatusWindow *statusWindow;
30 IBOutlet NSTextView *swSampleTextView;
31 IBOutlet NSPopUpButton *swVanishModePopup;
32 IBOutlet NSPopUpButton *swBackgroundTypePopup;
33 IBOutlet NSPopUpButton *swDefinedPositionPopup;
34 IBOutlet NSTextField *swVanishDelay;
35 IBOutlet NSTextField *swShadowSaturation;
36 IBOutlet NSSlider *swSpeedSlider;
39 // ITStatusItem Support
40 - (IBAction)toggleStatusItem:(id)sender;
41 - (IBAction)toggleImage:(id)sender;
42 - (IBAction)toggleInvertedImage:(id)sender;
43 - (IBAction)toggleTitle:(id)sender;
45 // ITTextField Support
46 - (IBAction)toggleCastsShadow:(id)sender;
48 // ITTransientStatusWindow Support
49 - (IBAction)buildStatusWindow:(id)sender;
50 - (IBAction)toggleStatusWindow:(id)sender;
51 - (IBAction)changeWindowSetting:(id)sender;
54 - (IBAction)toggleTabDragging:(id)sender;
55 - (IBAction)toggleCommandDragging:(id)sender;
56 - (IBAction)toggleControlDragging:(id)sender;
57 - (IBAction)toggleOptionDragging:(id)sender;
58 - (IBAction)toggleShiftDragging:(id)sender;
60 // ITBevelView support
61 - (IBAction)changeBevelViewSetting:(id)sender;