Merge branch 'master' of git://github.com/ksuther/MenuTunes
[MenuTunes.git] / StatusWindow.h
1 /*
2  *      MenuTunes
3  *      StatusWindow.h
4  *
5  *      ITTransientStatusWindow subclass for MenuTunes.
6  *
7  *      Copyright (c) 2003 iThink Software
8  *
9  */
10
11 #import <Cocoa/Cocoa.h>
12 #import <ITKit/ITKit.h>
13
14 #define SMALL_DIVISOR       1.33333
15 #define MINI_DIVISOR        1.66667
16
17 @interface StatusWindow : ITTransientStatusWindow {
18     NSImage            *_image;
19     BOOL                _locked;
20         NSTextField                *_textField;
21 }
22
23 - (void)setImage:(NSImage *)newImage;
24 - (void)setLocked:(BOOL)flag;
25
26 - (void)buildImageWindowWithImage:(NSImage *)image;
27 - (void)buildTextWindowWithString:(id)text;
28 - (void)buildMeterWindowWithCharacter:(NSString *)character
29                                  size:(float)size
30                                 count:(int)count
31                                active:(int)active;
32 - (void)buildDialogWindowWithMessage:(NSString *)message
33                        defaultButton:(NSString *)title
34                      alternateButton:(NSString *)title
35                               target:(id)target
36                        defaultAction:(SEL)okAction
37                      alternateAction:(SEL)alternateAction;
38
39 - (void)updateTime:(NSString *)time range:(NSRange)range;
40 @end