This about does it. I want to do a couple more things, especially multiple screen...
[MenuTunes.git] / StatusWindow.h
index d5dfb6e..c956be7 100755 (executable)
@@ -1,20 +1,48 @@
 /*
  *     MenuTunes
  *  StatusWindow
- *    ...
+ *    ITTransientStatusWindow subclass for MenuTunes
  *
- *  Original Author : Kent Sutherland <ksuther@ithinksw.com>
- *   Responsibility : Kent Sutherland <ksuther@ithinksw.com>
+ *  Original Author : Matthew Judy <mjudy@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
  *
- *  Copyright (c) 2002 The iThink Group.
+ *  Copyright (c) 2003 iThink Software.
  *  All Rights Reserved
  *
  */
 
 
 #import <Cocoa/Cocoa.h>
+#import <ITKit/ITKit.h>
 
-@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