Changed the NSMenu category from NSMenuItem * to id <NSMenuItem>
[ITKit.git] / ITTransientStatusWindow.h
index 021c8a7..04f13ab 100755 (executable)
@@ -4,10 +4,10 @@
  *    NSWindow subclass for quick display of status information.
  *    Similar to volume/brightness/eject bezel key windows.
  *
  *    NSWindow subclass for quick display of status information.
  *    Similar to volume/brightness/eject bezel key windows.
  *
- *  Original Author : Matt Judy <mjudy@ithinksw.com>
- *   Responsibility : Matt Judy <mjudy@ithinksw.com>
+ *  Original Author : Matthew Judy <mjudy@ithinksw.com>
+ *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
  *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
  *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
- *      Contributor : Kent Sutherland <joseph.spiros@ithinksw.com>
+ *      Contributor : Kent Sutherland <kent.sutherland@ithinksw.com>
  *
  *  Copyright (c) 2002 - 2003 iThink Software.
  *  All Rights Reserved
  *
  *  Copyright (c) 2002 - 2003 iThink Software.
  *  All Rights Reserved
@@ -42,6 +42,11 @@ typedef enum {
     ITTransientStatusWindowAquaUtility
 } ITTransientStatusWindowBackgroundType;
 
     ITTransientStatusWindowAquaUtility
 } ITTransientStatusWindowBackgroundType;
 
+typedef enum {
+    ITTransientStatusWindowRegular,
+    ITTransientStatusWindowSmall,
+    ITTransientStatusWindowMini
+} ITTransientStatusWindowSizing;
 
 @interface ITTransientStatusWindow : NSWindow <ITWindowPositioning , ITWindowMotility> {
 
 
 @interface ITTransientStatusWindow : NSWindow <ITWindowPositioning , ITWindowMotility> {
 
@@ -54,8 +59,9 @@ typedef enum {
     double                                 _effectProgress;
     ITVerticalWindowPosition               _verticalPosition;
     ITHorizontalWindowPosition             _horizontalPosition;
     double                                 _effectProgress;
     ITVerticalWindowPosition               _verticalPosition;
     ITHorizontalWindowPosition             _horizontalPosition;
+    ITTransientStatusWindowSizing          _sizing;
     float                                  _screenPadding;
     float                                  _screenPadding;
-    int                                    _screenNumber;
+//    int                                    _screenNumber;
 
     BOOL _reallyIgnoresEvents;
     
 
     BOOL _reallyIgnoresEvents;
     
@@ -73,6 +79,9 @@ typedef enum {
 - (void)appear:(id)sender;
 - (void)vanish:(id)sender;
 
 - (void)appear:(id)sender;
 - (void)vanish:(id)sender;
 
+- (void)setSizing:(ITTransientStatusWindowSizing)newSizing;
+- (ITTransientStatusWindowSizing)sizing;
+
 - (ITWindowVisibilityState)visibilityState;
 - (void)setVisibilityState:(ITWindowVisibilityState)newState;
 
 - (ITWindowVisibilityState)visibilityState;
 - (void)setVisibilityState:(ITWindowVisibilityState)newState;