Sizing is now in, with appropriate UI. Still working on the last of the positioning...
[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 typedef enum _StatusWindowSizing {
20     StatusWindowRegular,
21     StatusWindowSmall,
22     StatusWindowMini
23 } StatusWindowSizing;
24
25
26 @interface StatusWindow : ITTransientStatusWindow {
27     NSImage            *_image;
28     BOOL                _locked;
29     StatusWindowSizing  _sizing;
30 }
31
32 - (void)setImage:(NSImage *)newImage;
33 - (void)setLocked:(BOOL)flag;
34 - (void)setSizing:(StatusWindowSizing)newSizing;
35
36 - (void)buildTextWindowWithString:(NSString *)text;
37 - (void)buildMeterWindowWithCharacter:(NSString *)character
38                                  size:(float)size
39                                 count:(int)count
40                                active:(int)active;
41 - (void)buildDialogWindowWithMessage:(NSString *)message
42                        defaultButton:(NSString *)title
43                      alternateButton:(NSString *)title
44                               target:(id)target
45                        defaultAction:(SEL)okAction
46                      alternateAction:(SEL)alternateAction;
47                          
48 @end