Increase the default duration of all visual displays (except MusicVideo) to compensate for the faster transition time.
2 // GrowlMusicVideoPrefs.h
5 // Created by Jorge Salvador Caffarena on 14/09/04.
6 // Copyright 2004 Jorge Salvador Caffarena. All rights reserved.
9 #import <PreferencePanes/PreferencePanes.h>
11 #define GrowlMusicVideoPrefDomain @"com.Growl.MusicVideo"
13 #define MUSICVIDEO_SCREEN_PREF @"Screen"
15 #define MUSICVIDEO_OPACITY_PREF @"Opacity"
16 #define MUSICVIDEO_DEFAULT_OPACITY 60.0f
18 #define MUSICVIDEO_DURATION_PREF @"Duration"
19 #define GrowlMusicVideoDurationPrefDefault 5.0f
21 #define MUSICVIDEO_SIZE_PREF @"Size"
24 MUSICVIDEO_SIZE_NORMAL = 0,
25 MUSICVIDEO_SIZE_HUGE =1
28 #define MUSICVIDEO_EFFECT_PREF @"Transition effect"
31 MUSICVIDEO_EFFECT_SLIDE = 0,
32 MUSICVIDEO_EFFECT_WIPE = 1,
33 MUSICVIDEO_EFFECT_FADING = 2
34 } MusicVideoEffectType;
37 #define GrowlMusicVideoVeryLowBackgroundColor @"MusicVideo-Priority-VeryLow-Color"
38 #define GrowlMusicVideoModerateBackgroundColor @"MusicVideo-Priority-Moderate-Color"
39 #define GrowlMusicVideoNormalBackgroundColor @"MusicVideo-Priority-Normal-Color"
40 #define GrowlMusicVideoHighBackgroundColor @"MusicVideo-Priority-High-Color"
41 #define GrowlMusicVideoEmergencyBackgroundColor @"MusicVideo-Priority-Emergency-Color"
43 #define GrowlMusicVideoVeryLowTextColor @"MusicVideo-Priority-VeryLow-Text-Color"
44 #define GrowlMusicVideoModerateTextColor @"MusicVideo-Priority-Moderate-Text-Color"
45 #define GrowlMusicVideoNormalTextColor @"MusicVideo-Priority-Normal-Text-Color"
46 #define GrowlMusicVideoHighTextColor @"MusicVideo-Priority-High-Text-Color"
47 #define GrowlMusicVideoEmergencyTextColor @"MusicVideo-Priority-Emergency-Text-Color"
49 @interface GrowlMusicVideoPrefs : NSPreferencePane {
50 IBOutlet NSSlider *slider_opacity;
54 - (void) setDuration:(float)value;
56 - (void) setEffect:(unsigned)newEffect;
58 - (void) setOpacity:(float)value;
60 - (void) setSize:(int)value;
62 - (void) setScreen:(int)value;
64 - (NSColor *) textColorVeryLow;
65 - (void) setTextColorVeryLow:(NSColor *)value;
66 - (NSColor *) textColorModerate;
67 - (void) setTextColorModerate:(NSColor *)value;
68 - (NSColor *) textColorNormal;
69 - (void) setTextColorNormal:(NSColor *)value;
70 - (NSColor *) textColorHigh;
71 - (void) setTextColorHigh:(NSColor *)value;
72 - (NSColor *) textColorEmergency;
73 - (void) setTextColorEmergency:(NSColor *)value;
75 - (NSColor *) backgroundColorVeryLow;
76 - (void) setBackgroundColorVeryLow:(NSColor *)value;
77 - (NSColor *) backgroundColorModerate;
78 - (void) setBackgroundColorModerate:(NSColor *)value;
79 - (NSColor *) backgroundColorNormal;
80 - (void) setBackgroundColorNormal:(NSColor *)value;
81 - (NSColor *) backgroundColorHigh;
82 - (void) setBackgroundColorHigh:(NSColor *)value;
83 - (NSColor *) backgroundColorEmergency;
84 - (void) setBackgroundColorEmergency:(NSColor *)value;