| author | Peter Hosey |
| Fri May 22 19:33:14 2009 -0700 (2009-05-22) | |
| branch | transition-experiments |
| changeset 4221 | fee030c66025 |
| parent 3640 | e6fcce41a7f2 |
| child 4246 | 4f52d1d98978 |
| permissions | -rw-r--r-- |
| rudy@2886 | 1 |
// |
| rudy@2886 | 2 |
// GrowlNanoPrefs.h |
| rudy@2886 | 3 |
// Display Plugins |
| rudy@2886 | 4 |
// |
| rudy@2886 | 5 |
// Created by Rudy Richter on 12/12/2005. |
| ingmarstein@3040 | 6 |
// Copyright 2005-2006, The Growl Project. All rights reserved. |
| rudy@2886 | 7 |
// |
| rudy@2886 | 8 |
|
| rudy@2886 | 9 |
#import <PreferencePanes/PreferencePanes.h> |
| rudy@2886 | 10 |
|
| rudy@2886 | 11 |
#define GrowlNanoPrefDomain @"com.Growl.Nano" |
| rudy@2886 | 12 |
|
| rudy@2886 | 13 |
#define Nano_SCREEN_PREF @"Screen" |
| rudy@2886 | 14 |
|
| rudy@2886 | 15 |
#define Nano_OPACITY_PREF @"Opacity" |
| rudy@2886 | 16 |
#define Nano_DEFAULT_OPACITY 60.0f |
| rudy@2886 | 17 |
|
| rudy@2886 | 18 |
#define Nano_DURATION_PREF @"Duration" |
| Peter@4221 | 19 |
#define GrowlNanoDurationPrefDefault 5.0f |
| rudy@2886 | 20 |
|
| rudy@2886 | 21 |
#define Nano_SIZE_PREF @"Size" |
| evands@3640 | 22 |
typedef enum {
|
| evands@3640 | 23 |
Nano_SIZE_NORMAL = 0, |
| evands@3640 | 24 |
Nano_SIZE_HUGE = 1 |
| evands@3640 | 25 |
} NanoSize; |
| rudy@2886 | 26 |
|
| rudy@2886 | 27 |
#define Nano_EFFECT_PREF @"Transition effect" |
| evands@3640 | 28 |
typedef enum {
|
| evands@3640 | 29 |
Nano_EFFECT_SLIDE = 0, |
| evands@3640 | 30 |
Nano_EFFECT_WIPE, |
| evands@3640 | 31 |
Nano_EFFECT_FADE |
| evands@3640 | 32 |
} NanoEffectType; |
| rudy@2886 | 33 |
|
| rudy@2886 | 34 |
#define GrowlNanoVeryLowBackgroundColor @"Nano-Priority-VeryLow-Color" |
| rudy@2886 | 35 |
#define GrowlNanoModerateBackgroundColor @"Nano-Priority-Moderate-Color" |
| rudy@2886 | 36 |
#define GrowlNanoNormalBackgroundColor @"Nano-Priority-Normal-Color" |
| rudy@2886 | 37 |
#define GrowlNanoHighBackgroundColor @"Nano-Priority-High-Color" |
| rudy@2886 | 38 |
#define GrowlNanoEmergencyBackgroundColor @"Nano-Priority-Emergency-Color" |
| rudy@2886 | 39 |
|
| rudy@2886 | 40 |
#define GrowlNanoVeryLowTextColor @"Nano-Priority-VeryLow-Text-Color" |
| rudy@2886 | 41 |
#define GrowlNanoModerateTextColor @"Nano-Priority-Moderate-Text-Color" |
| rudy@2886 | 42 |
#define GrowlNanoNormalTextColor @"Nano-Priority-Normal-Text-Color" |
| rudy@2886 | 43 |
#define GrowlNanoHighTextColor @"Nano-Priority-High-Text-Color" |
| rudy@2886 | 44 |
#define GrowlNanoEmergencyTextColor @"Nano-Priority-Emergency-Text-Color" |
| rudy@2886 | 45 |
|
| rudy@2886 | 46 |
@interface GrowlNanoPrefs : NSPreferencePane {
|
| rudy@2886 | 47 |
IBOutlet NSSlider *slider_opacity; |
| rudy@2886 | 48 |
} |
| rudy@2886 | 49 |
|
| rudy@2886 | 50 |
- (float) duration; |
| rudy@2886 | 51 |
- (void) setDuration:(float)value; |
| rudy@2886 | 52 |
- (unsigned) effect; |
| rudy@2886 | 53 |
- (void) setEffect:(unsigned)newEffect; |
| rudy@2886 | 54 |
- (float) opacity; |
| rudy@2886 | 55 |
- (void) setOpacity:(float)value; |
| rudy@2886 | 56 |
- (int) size; |
| rudy@2886 | 57 |
- (void) setSize:(int)value; |
| rudy@2886 | 58 |
- (int) screen; |
| rudy@2886 | 59 |
- (void) setScreen:(int)value; |
| rudy@2886 | 60 |
|
| rudy@2886 | 61 |
- (NSColor *) textColorVeryLow; |
| rudy@2886 | 62 |
- (void) setTextColorVeryLow:(NSColor *)value; |
| rudy@2886 | 63 |
- (NSColor *) textColorModerate; |
| rudy@2886 | 64 |
- (void) setTextColorModerate:(NSColor *)value; |
| rudy@2886 | 65 |
- (NSColor *) textColorNormal; |
| rudy@2886 | 66 |
- (void) setTextColorNormal:(NSColor *)value; |
| rudy@2886 | 67 |
- (NSColor *) textColorHigh; |
| rudy@2886 | 68 |
- (void) setTextColorHigh:(NSColor *)value; |
| rudy@2886 | 69 |
- (NSColor *) textColorEmergency; |
| rudy@2886 | 70 |
- (void) setTextColorEmergency:(NSColor *)value; |
| rudy@2886 | 71 |
|
| rudy@2886 | 72 |
- (NSColor *) backgroundColorVeryLow; |
| rudy@2886 | 73 |
- (void) setBackgroundColorVeryLow:(NSColor *)value; |
| rudy@2886 | 74 |
- (NSColor *) backgroundColorModerate; |
| rudy@2886 | 75 |
- (void) setBackgroundColorModerate:(NSColor *)value; |
| rudy@2886 | 76 |
- (NSColor *) backgroundColorNormal; |
| rudy@2886 | 77 |
- (void) setBackgroundColorNormal:(NSColor *)value; |
| rudy@2886 | 78 |
- (NSColor *) backgroundColorHigh; |
| rudy@2886 | 79 |
- (void) setBackgroundColorHigh:(NSColor *)value; |
| rudy@2886 | 80 |
- (NSColor *) backgroundColorEmergency; |
| rudy@2886 | 81 |
- (void) setBackgroundColorEmergency:(NSColor *)value; |
| rudy@2886 | 82 |
|
| rudy@2886 | 83 |
@end |