One more little nib tweak
[MenuTunes.git] / StatusWindow.h
index c97566c..c956be7 100755 (executable)
@@ -1,8 +1,48 @@
-/* StatusWindow */
+/*
+ *     MenuTunes
+ *  StatusWindow
+ *    ITTransientStatusWindow subclass for MenuTunes
+ *
+ *  Original Author : Matthew Judy <mjudy@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
+ *
+ *  Copyright (c) 2003 iThink Software.
+ *  All Rights Reserved
+ *
+ */
+
 
 #import <Cocoa/Cocoa.h>
+#import <ITKit/ITKit.h>
+
+
+typedef enum _StatusWindowSizing {
+    StatusWindowRegular,
+    StatusWindowSmall,
+    StatusWindowMini
+} StatusWindowSizing;
 
-@interface StatusWindow : NSWindow
-{
+
+@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