This about does it. I want to do a couple more things, especially multiple screen...
[MenuTunes.git] / StatusWindow.h
index 3fbc7be..c956be7 100755 (executable)
 #import <ITKit/ITKit.h>
 
 
 #import <ITKit/ITKit.h>
 
 
-#define SW_PAD    24.0
-#define SW_SPACE  24.0
-#define SW_MINW   211.0
-#define SW_BORDER 32.0
+typedef enum _StatusWindowSizing {
+    StatusWindowRegular,
+    StatusWindowSmall,
+    StatusWindowMini
+} StatusWindowSizing;
 
 
 @interface StatusWindow : ITTransientStatusWindow {
 
 
 @interface StatusWindow : ITTransientStatusWindow {
-    NSImage      *image;
-    NSString     *text;
-    NSImageView  *imageView;
-    ITTextField  *textField;
+    NSImage            *_image;
+    BOOL                _locked;
+    StatusWindowSizing  _sizing;
 }
 
 - (void)setImage:(NSImage *)newImage;
 }
 
 - (void)setImage:(NSImage *)newImage;
-- (void)setText:(NSString *)newText;
-
-
+- (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
 @end