X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/c92930f48a560adbc8f80ef106a3128cf9c176bf..3af6b8277d3305427112b099523abeab3c231816:/StatusWindow.h diff --git a/StatusWindow.h b/StatusWindow.h index b72ca71..d44de93 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -15,29 +15,29 @@ #import #import - -#define SW_PAD 24.0 -#define SW_SPACE 24.0 -#define SW_MINW 211.0 -#define SW_BORDER 32.0 - -typedef enum { - StatusWindowTextMode, - StatusWindowVolumeMode -} StatusWindowMode; +#define SMALL_DIVISOR 1.33333 +#define MINI_DIVISOR 1.66667 @interface StatusWindow : ITTransientStatusWindow { - NSImage *image; - NSString *text; - NSImageView *imageView; - ITTextField *textField; - NSMatrix *volMatrix; - StatusWindowMode windowMode; - float volumeLevel; + NSImage *_image; + BOOL _locked; + NSTextField *_textField; } - (void)setImage:(NSImage *)newImage; -- (void)setText:(NSString *)newText; -- (void)setVolume:(float)level; - +- (void)setLocked:(BOOL)flag; + +- (void)buildTextWindowWithString:(id)text; +- (void)buildMeterWindowWithCharacter:(NSString *)character + size:(float)size + count:(int)count + active:(int)active; +- (void)buildDialogWindowWithMessage:(NSString *)message + defaultButton:(NSString *)title + alternateButton:(NSString *)title + target:(id)target + defaultAction:(SEL)okAction + alternateAction:(SEL)alternateAction; + +- (void)updateTime:(NSString *)time range:(NSRange)range; @end