X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/6e879de483fcc0349bb3720d1eb8ae74dc6d3803..62b8c89476c1fa88ca9f53483dc3941db65f9728:/StatusWindow.h?ds=sidebyside diff --git a/StatusWindow.h b/StatusWindow.h index d5dfb6e..d44de93 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -1,20 +1,43 @@ /* * MenuTunes * StatusWindow - * ... + * ITTransientStatusWindow subclass for MenuTunes * - * Original Author : Kent Sutherland - * Responsibility : Kent Sutherland + * Original Author : Matthew Judy + * Responsibility : Matthew Judy * - * Copyright (c) 2002 The iThink Group. + * Copyright (c) 2003 iThink Software. * All Rights Reserved * */ #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)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