Merge branch 'master' of git://github.com/ksuther/MenuTunes
[MenuTunes.git] / StatusWindow.h
index 6e72123..6fb8602 100755 (executable)
@@ -1,38 +1,32 @@
 /*
  *     MenuTunes
 /*
  *     MenuTunes
- *  StatusWindow
- *    ITTransientStatusWindow subclass for MenuTunes
+ *     StatusWindow.h
  *
  *
- *  Original Author : Matthew Judy <mjudy@ithinksw.com>
- *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
+ *     ITTransientStatusWindow subclass for MenuTunes.
  *
  *
- *  Copyright (c) 2003 iThink Software.
- *  All Rights Reserved
+ *     Copyright (c) 2003 iThink Software
  *
  */
 
  *
  */
 
-
 #import <Cocoa/Cocoa.h>
 #import <ITKit/ITKit.h>
 
 #import <Cocoa/Cocoa.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
-#define SW_METER_PAD   4.0
-
+#define SMALL_DIVISOR       1.33333
+#define MINI_DIVISOR        1.66667
 
 @interface StatusWindow : ITTransientStatusWindow {
 
 @interface StatusWindow : ITTransientStatusWindow {
-    NSImage  *_image;
-    BOOL      _locked;
+    NSImage            *_image;
+    BOOL                _locked;
+       NSTextField                *_textField;
 }
 
 - (void)setImage:(NSImage *)newImage;
 - (void)setLocked:(BOOL)flag;
 
 }
 
 - (void)setImage:(NSImage *)newImage;
 - (void)setLocked:(BOOL)flag;
 
-- (void)buildTextWindowWithString:(NSString *)text;
+- (void)buildImageWindowWithImage:(NSImage *)image;
+- (void)buildTextWindowWithString:(id)text;
 - (void)buildMeterWindowWithCharacter:(NSString *)character
 - (void)buildMeterWindowWithCharacter:(NSString *)character
+                                 size:(float)size
                                 count:(int)count
                                active:(int)active;
 - (void)buildDialogWindowWithMessage:(NSString *)message
                                 count:(int)count
                                active:(int)active;
 - (void)buildDialogWindowWithMessage:(NSString *)message
@@ -40,6 +34,7 @@
                      alternateButton:(NSString *)title
                               target:(id)target
                        defaultAction:(SEL)okAction
                      alternateButton:(NSString *)title
                               target:(id)target
                        defaultAction:(SEL)okAction
-                     alternateAction:(SEL)alternateAction;           
-                         
+                     alternateAction:(SEL)alternateAction;
+
+- (void)updateTime:(NSString *)time range:(NSRange)range;
 @end
 @end