X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/93f1f93114865d18b5870f04763c921ff33b8e59..a2891d12899c1160b9fcd9b9b195d7d8ee354cb7:/StatusWindow.h?ds=inline diff --git a/StatusWindow.h b/StatusWindow.h index c97566c..6fb8602 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -1,8 +1,40 @@ -/* StatusWindow */ +/* + * MenuTunes + * StatusWindow.h + * + * ITTransientStatusWindow subclass for MenuTunes. + * + * Copyright (c) 2003 iThink Software + * + */ #import +#import -@interface StatusWindow : NSWindow -{ +#define SMALL_DIVISOR 1.33333 +#define MINI_DIVISOR 1.66667 + +@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