X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/3a1a21d1ea3e060f88ca1d24ea881f3ccb97640c..72525936e39908832152b4d81c58d4b40994d7a7:/StatusWindow.h diff --git a/StatusWindow.h b/StatusWindow.h index 8432e05..c956be7 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -16,24 +16,22 @@ #import -#define SW_PAD 24.00 -#define SW_SPACE 24.00 -#define SW_MINW 211.00 -#define SW_BORDER 32.00 -#define SW_METER_PAD 4.00 -#define SW_BUTTON_PAD_R 30.00 -#define SW_BUTTON_PAD_B 24.00 -#define SW_BUTTON_DIV 12.00 -#define SW_BUTTON_EXTRA_W 8.00 -#define SW_SHADOW_SAT 1.25 +typedef enum _StatusWindowSizing { + StatusWindowRegular, + StatusWindowSmall, + StatusWindowMini +} StatusWindowSizing; + @interface StatusWindow : ITTransientStatusWindow { - NSImage *_image; - BOOL _locked; + 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 @@ -45,6 +43,6 @@ alternateButton:(NSString *)title target:(id)target defaultAction:(SEL)okAction - alternateAction:(SEL)alternateAction; + alternateAction:(SEL)alternateAction; @end