X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/4f2a1a6b5d25d7cbae4f356eabe754a4f6e98adb..4ceec63fa54ca0281b26107bcfc78617c9854d4c:/StatusWindow.h diff --git a/StatusWindow.h b/StatusWindow.h index 1d0f552..6fb8602 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -1,20 +1,40 @@ /* * MenuTunes - * StatusWindow - * ... + * StatusWindow.h * - * Original Author : Kent Sutherland - * Responsibility : Kent Sutherland + * ITTransientStatusWindow subclass for MenuTunes. * - * Copyright (c) 2002 iThink Software. - * All Rights Reserved + * Copyright (c) 2003 iThink Software * */ - #import +#import + +#define SMALL_DIVISOR 1.33333 +#define MINI_DIVISOR 1.66667 -@interface StatusWindow : NSWindow -{ +@interface StatusWindow : ITTransientStatusWindow { + NSImage *_image; + BOOL _locked; + NSTextField *_textField; } + +- (void)setImage:(NSImage *)newImage; +- (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