X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/4f2a1a6b5d25d7cbae4f356eabe754a4f6e98adb..a182eb127d3f864b1c7208658451f8a7e21aeed1:/StatusWindow.h diff --git a/StatusWindow.h b/StatusWindow.h index 1d0f552..c956be7 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -1,20 +1,48 @@ /* * MenuTunes * StatusWindow - * ... + * ITTransientStatusWindow subclass for MenuTunes * - * Original Author : Kent Sutherland - * Responsibility : Kent Sutherland + * Original Author : Matthew Judy + * Responsibility : Matthew Judy * - * Copyright (c) 2002 iThink Software. + * Copyright (c) 2003 iThink Software. * All Rights Reserved * */ #import +#import -@interface StatusWindow : NSWindow -{ + +typedef enum _StatusWindowSizing { + StatusWindowRegular, + StatusWindowSmall, + StatusWindowMini +} StatusWindowSizing; + + +@interface StatusWindow : ITTransientStatusWindow { + NSImage *_image; + BOOL _locked; + StatusWindowSizing _sizing; } + +- (void)setImage:(NSImage *)newImage; +- (void)setLocked:(BOOL)flag; +- (void)setSizing:(StatusWindowSizing)newSizing; + +- (void)buildTextWindowWithString:(NSString *)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; + @end