The hotkey for showing track info now calls a different method that will hide the...
[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)buildTextWindowWithString:(id)text;
31 - (void)buildMeterWindowWithCharacter:(NSString *)character
32                                  size:(float)size
33                                 count:(int)count
34                                active:(int)active;
35 - (void)buildDialogWindowWithMessage:(NSString *)message
36                        defaultButton:(NSString *)title
37                      alternateButton:(NSString *)title
38                               target:(id)target
39                        defaultAction:(SEL)okAction
40                      alternateAction:(SEL)alternateAction;
41
42 - (void)updateTime:(NSString *)time range:(NSRange)range;
43 @end