OMG HUEG COMMIT!!! IT SI LIEK AN XBOX, BECAUES IT SI SO HUEG!! ALL STATUS WINDOW...
[MenuTunes.git] / StatusWindow.h
1 /*
2  *      MenuTunes
3  *  StatusWindow
4  *    ITTransientStatusWindow subclass for MenuTunes
5  *
6  *  Original Author : Matthew Judy <mjudy@ithinksw.com>
7  *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
8  *
9  *  Copyright (c) 2003 iThink Software.
10  *  All Rights Reserved
11  *
12  */
13
14
15 #import <Cocoa/Cocoa.h>
16 #import <ITKit/ITKit.h>
17
18
19 #define SW_PAD            24.00
20 #define SW_SPACE          24.00
21 #define SW_MINW          211.00
22 #define SW_BORDER         32.00
23 #define SW_METER_PAD       4.00
24 #define SW_BUTTON_PAD_R   30.00
25 #define SW_BUTTON_PAD_B   24.00
26 #define SW_BUTTON_DIV     12.00
27 #define SW_BUTTON_EXTRA_W  8.00
28 #define SW_SHADOW_SAT      1.25
29
30 @interface StatusWindow : ITTransientStatusWindow {
31     NSImage  *_image;
32     BOOL      _locked;
33 }
34
35 - (void)setImage:(NSImage *)newImage;
36 - (void)setLocked:(BOOL)flag;
37
38 - (void)buildTextWindowWithString:(NSString *)text;
39 - (void)buildMeterWindowWithCharacter:(NSString *)character
40                                  size:(float)size
41                                 count:(int)count
42                                active:(int)active;
43 - (void)buildDialogWindowWithMessage:(NSString *)message
44                        defaultButton:(NSString *)title
45                      alternateButton:(NSString *)title
46                               target:(id)target
47                        defaultAction:(SEL)okAction
48                      alternateAction:(SEL)alternateAction;           
49                          
50 @end