Renamed the product from GrowlITTSW to ITTSW. Added image size customization options...
[GrowlITTSW.git] / GrowlITTSWPrefs.h
1 #import <PreferencePanes/PreferencePanes.h>
2 #import <ITKit/ITKit.h>
3 #import <ITKit/ITTSWBackgroundView.h>
4
5 @interface GrowlITTSWPrefs : NSPreferencePane {
6         IBOutlet NSPopUpButton *appearanceEffectButton;
7         IBOutlet NSSlider *appearanceSpeedSlider;
8         IBOutlet NSPopUpButton *vanishEffectButton;
9         IBOutlet NSSlider *vanishSpeedSlider;
10         IBOutlet NSSlider *vanishDelaySlider;
11         
12         IBOutlet NSPopUpButton *backgroundStyleButton;
13         IBOutlet NSColorWell *backgroundColorWell;
14         IBOutlet NSPopUpButton *windowSizeButton;
15         
16         IBOutlet NSPopUpButton *screenButton;
17         IBOutlet NSSlider *imageSizeSlider;
18         IBOutlet NSButton *imageNoUpscaleButton;
19         IBOutlet NSButton *wrapNotificationsButton;
20         IBOutlet NSTextField *wrapColumnsField;
21 }
22
23 + (Class)appearanceEffect;
24 + (float)appearanceSpeed;
25 + (Class)vanishEffect;
26 + (float)vanishSpeed;
27 + (float)vanishDelay;
28 + (ITTSWBackgroundMode)backgroundStyle;
29 + (NSColor *)backgroundColor;
30 + (ITTransientStatusWindowSizing)windowSize;
31 + (int)screenIndex;
32 + (NSScreen *)screen;
33 + (ITHorizontalWindowPosition)horizontalPosition;
34 + (ITVerticalWindowPosition)verticalPosition;
35
36 + (float)imageSize;
37 + (BOOL)imageNoUpscale;
38 + (BOOL)wrapNotifications;
39 + (int)wrapColumns;
40
41 - (IBAction)setAppearanceEffect:(id)sender;
42 - (IBAction)setAppearanceSpeed:(id)sender;
43 - (IBAction)setVanishEffect:(id)sender;
44 - (IBAction)setVanishSpeed:(id)sender;
45 - (IBAction)setVanishDelay:(id)sender;
46
47 - (IBAction)setBackgroundStyle:(id)sender;
48 - (IBAction)setBackgroundColor:(id)sender;
49 - (IBAction)setWindowSize:(id)sender;
50
51 - (IBAction)setScreen:(id)sender;
52 - (IBAction)setImageSize:(id)sender;
53 - (IBAction)setImageNoUpscale:(id)sender;
54 - (IBAction)setWrap:(id)sender;
55 - (IBAction)setWrapColumns:(id)sender;
56
57 @end