X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/8c8ad0b57aee475a9b03939aa932d96610587c25..a1367a46347952261b0e04a09dc061695a6511d0:/StatusWindow.h?ds=sidebyside diff --git a/StatusWindow.h b/StatusWindow.h index 3fbc7be..8432e05 100755 --- a/StatusWindow.h +++ b/StatusWindow.h @@ -16,21 +16,35 @@ #import -#define SW_PAD 24.0 -#define SW_SPACE 24.0 -#define SW_MINW 211.0 -#define SW_BORDER 32.0 - +#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 @interface StatusWindow : ITTransientStatusWindow { - NSImage *image; - NSString *text; - NSImageView *imageView; - ITTextField *textField; + NSImage *_image; + BOOL _locked; } - (void)setImage:(NSImage *)newImage; -- (void)setText:(NSString *)newText; - - +- (void)setLocked:(BOOL)flag; + +- (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