Updated to version 1.6.5
[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 #define SMALL_DIVISOR       1.33333
19 #define MINI_DIVISOR        1.66667
20
21 @interface StatusWindow : ITTransientStatusWindow {
22     NSImage            *_image;
23     BOOL                _locked;
24         NSTextField                *_textField;
25 }
26
27 - (void)setImage:(NSImage *)newImage;
28 - (void)setLocked:(BOOL)flag;
29
30 - (void)buildImageWindowWithImage:(NSImage *)image;
31 - (void)buildTextWindowWithString:(id)text;
32 - (void)buildMeterWindowWithCharacter:(NSString *)character
33                                  size:(float)size
34                                 count:(int)count
35                                active:(int)active;
36 - (void)buildDialogWindowWithMessage:(NSString *)message
37                        defaultButton:(NSString *)title
38                      alternateButton:(NSString *)title
39                               target:(id)target
40                        defaultAction:(SEL)okAction
41                      alternateAction:(SEL)alternateAction;
42
43 - (void)updateTime:(NSString *)time range:(NSRange)range;
44 @end