X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/8c8ad0b57aee475a9b03939aa932d96610587c25..refs/heads/master:/StatusWindow.h diff --git a/StatusWindow.h b/StatusWindow.h index 3fbc7be..6fb8602 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -1,36 +1,40 @@ /* * MenuTunes - * StatusWindow - * ITTransientStatusWindow subclass for MenuTunes + * StatusWindow.h * - * Original Author : Matthew Judy - * Responsibility : Matthew Judy + * ITTransientStatusWindow subclass for MenuTunes. * - * Copyright (c) 2003 iThink Software. - * All Rights Reserved + * Copyright (c) 2003 iThink Software * */ - #import #import - -#define SW_PAD 24.0 -#define SW_SPACE 24.0 -#define SW_MINW 211.0 -#define SW_BORDER 32.0 - +#define SMALL_DIVISOR 1.33333 +#define MINI_DIVISOR 1.66667 @interface StatusWindow : ITTransientStatusWindow { - NSImage *image; - NSString *text; - NSImageView *imageView; - ITTextField *textField; + NSImage *_image; + BOOL _locked; + NSTextField *_textField; } - (void)setImage:(NSImage *)newImage; -- (void)setText:(NSString *)newText; - - +- (void)setLocked:(BOOL)flag; + +- (void)buildImageWindowWithImage:(NSImage *)image; +- (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