Plugins/Displays/MusicVideo/GrowlMusicVideoPrefs.h
author Peter Hosey
Fri May 22 19:33:14 2009 -0700 (2009-05-22)
branchtransition-experiments
changeset 4221 fee030c66025
parent 3832 9e4cd6d28004
child 4246 4f52d1d98978
permissions -rw-r--r--
Increase the default duration of all visual displays (except MusicVideo) to compensate for the faster transition time.
boredzo@2402
     1
//
boredzo@2402
     2
//  GrowlMusicVideoPrefs.h
boredzo@2402
     3
//  Display Plugins
boredzo@2402
     4
//
boredzo@2402
     5
//  Created by Jorge Salvador Caffarena on 14/09/04.
boredzo@2402
     6
//  Copyright 2004 Jorge Salvador Caffarena. All rights reserved.
boredzo@2402
     7
//
boredzo@2402
     8
boredzo@2402
     9
#import <PreferencePanes/PreferencePanes.h>
boredzo@2402
    10
rudy@2814
    11
#define GrowlMusicVideoPrefDomain			@"com.Growl.MusicVideo"
boredzo@2402
    12
boredzo@2402
    13
#define MUSICVIDEO_SCREEN_PREF			@"Screen"
boredzo@2402
    14
boredzo@2402
    15
#define MUSICVIDEO_OPACITY_PREF			@"Opacity"
boredzo@2402
    16
#define MUSICVIDEO_DEFAULT_OPACITY		60.0f
boredzo@2402
    17
boredzo@2402
    18
#define MUSICVIDEO_DURATION_PREF		@"Duration"
Peter@4221
    19
#define GrowlMusicVideoDurationPrefDefault		5.0f
boredzo@2402
    20
boredzo@2402
    21
#define MUSICVIDEO_SIZE_PREF			@"Size"
evands@3640
    22
typedef enum
evands@3640
    23
{
evands@3640
    24
	MUSICVIDEO_SIZE_NORMAL = 0,
evands@3640
    25
	MUSICVIDEO_SIZE_HUGE =1
evands@3640
    26
} MusicVideoSize;
boredzo@2402
    27
boredzo@2402
    28
#define MUSICVIDEO_EFFECT_PREF			@"Transition effect"
evands@3554
    29
typedef enum
evands@3554
    30
{
evands@3554
    31
	MUSICVIDEO_EFFECT_SLIDE	= 0,
evands@3554
    32
	MUSICVIDEO_EFFECT_WIPE = 1,
evands@3554
    33
	MUSICVIDEO_EFFECT_FADING = 2
evands@3554
    34
} MusicVideoEffectType;
rudy@3282
    35
boredzo@2402
    36
boredzo@2402
    37
#define GrowlMusicVideoVeryLowBackgroundColor	@"MusicVideo-Priority-VeryLow-Color"
boredzo@2402
    38
#define GrowlMusicVideoModerateBackgroundColor	@"MusicVideo-Priority-Moderate-Color"
boredzo@2402
    39
#define GrowlMusicVideoNormalBackgroundColor	@"MusicVideo-Priority-Normal-Color"
boredzo@2402
    40
#define GrowlMusicVideoHighBackgroundColor		@"MusicVideo-Priority-High-Color"
boredzo@2402
    41
#define GrowlMusicVideoEmergencyBackgroundColor	@"MusicVideo-Priority-Emergency-Color"
boredzo@2402
    42
boredzo@2402
    43
#define GrowlMusicVideoVeryLowTextColor			@"MusicVideo-Priority-VeryLow-Text-Color"
boredzo@2402
    44
#define GrowlMusicVideoModerateTextColor		@"MusicVideo-Priority-Moderate-Text-Color"
boredzo@2402
    45
#define GrowlMusicVideoNormalTextColor			@"MusicVideo-Priority-Normal-Text-Color"
boredzo@2402
    46
#define GrowlMusicVideoHighTextColor			@"MusicVideo-Priority-High-Text-Color"
boredzo@2402
    47
#define GrowlMusicVideoEmergencyTextColor		@"MusicVideo-Priority-Emergency-Text-Color"
boredzo@2402
    48
boredzo@2402
    49
@interface GrowlMusicVideoPrefs : NSPreferencePane {
boredzo@2402
    50
	IBOutlet NSSlider *slider_opacity;
boredzo@2402
    51
}
boredzo@2402
    52
boredzo@2402
    53
- (float) duration;
boredzo@2402
    54
- (void) setDuration:(float)value;
boredzo@2402
    55
- (unsigned) effect;
boredzo@2402
    56
- (void) setEffect:(unsigned)newEffect;
boredzo@2402
    57
- (float) opacity;
boredzo@2402
    58
- (void) setOpacity:(float)value;
boredzo@2402
    59
- (int) size;
boredzo@2402
    60
- (void) setSize:(int)value;
boredzo@2402
    61
- (int) screen;
boredzo@2402
    62
- (void) setScreen:(int)value;
boredzo@2402
    63
boredzo@2402
    64
- (NSColor *) textColorVeryLow;
boredzo@2402
    65
- (void) setTextColorVeryLow:(NSColor *)value;
boredzo@2402
    66
- (NSColor *) textColorModerate;
boredzo@2402
    67
- (void) setTextColorModerate:(NSColor *)value;
boredzo@2402
    68
- (NSColor *) textColorNormal;
boredzo@2402
    69
- (void) setTextColorNormal:(NSColor *)value;
boredzo@2402
    70
- (NSColor *) textColorHigh;
boredzo@2402
    71
- (void) setTextColorHigh:(NSColor *)value;
boredzo@2402
    72
- (NSColor *) textColorEmergency;
boredzo@2402
    73
- (void) setTextColorEmergency:(NSColor *)value;
boredzo@2402
    74
boredzo@2402
    75
- (NSColor *) backgroundColorVeryLow;
boredzo@2402
    76
- (void) setBackgroundColorVeryLow:(NSColor *)value;
boredzo@2402
    77
- (NSColor *) backgroundColorModerate;
boredzo@2402
    78
- (void) setBackgroundColorModerate:(NSColor *)value;
boredzo@2402
    79
- (NSColor *) backgroundColorNormal;
boredzo@2402
    80
- (void) setBackgroundColorNormal:(NSColor *)value;
boredzo@2402
    81
- (NSColor *) backgroundColorHigh;
boredzo@2402
    82
- (void) setBackgroundColorHigh:(NSColor *)value;
boredzo@2402
    83
- (NSColor *) backgroundColorEmergency;
boredzo@2402
    84
- (void) setBackgroundColorEmergency:(NSColor *)value;
boredzo@2402
    85
boredzo@2402
    86
@end