Some more code cleanup, converting spaces to tabs. Redid ITKit.h framework
[ITKit.git] / ITTransientStatusWindow.h
old mode 100755 (executable)
new mode 100644 (file)
index c93f0a6..2e2a2e6
@@ -1,87 +1,71 @@
 /*
  *     ITKit
 /*
  *     ITKit
- *  ITTransientStatusWindow
- *    NSWindow subclass for quick display of status information.
- *    Similar to volume/brightness/eject bezel key windows.
+ *     ITTransientStatusWindow.h
  *
  *
- *  Original Author : Matthew Judy <mjudy@ithinksw.com>
- *   Responsibility : Matthew Judy <mjudy@ithinksw.com>
- *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
- *      Contributor : Kent Sutherland <kent.sutherland@ithinksw.com>
+ *     NSWindow subclass for quick display of status information, similar to
+ *             volume/brightness/eject bezel key windows.
  *
  *
- *  Copyright (c) 2002 - 2003 iThink Software.
- *  All Rights Reserved
+ *     Copyright (c) 2005 by iThink Software.
+ *     All Rights Reserved.
+ *
+ *     $Id$
  *
  */
 
  *
  */
 
-
 #import <Cocoa/Cocoa.h>
 #import "ITWindowPositioning.h"
 #import "ITWindowEffect.h"
 
 #import <Cocoa/Cocoa.h>
 #import "ITWindowPositioning.h"
 #import "ITWindowEffect.h"
 
-#define DEFAULT_EXIT_DELAY  3.0
-
+#define DEFAULT_EXIT_DELAY 3.0
 
 @class ITTextField;
 @class ITGrayRoundedView;
 
 @class ITTextField;
 @class ITGrayRoundedView;
-@class ITWindowEffect;
-
 
 typedef enum {
 
 typedef enum {
-    ITTransientStatusWindowExitOnCommand,
-    ITTransientStatusWindowExitAfterDelay,
+       ITTransientStatusWindowExitOnCommand,
+       ITTransientStatusWindowExitAfterDelay
 } ITTransientStatusWindowExitMode;
 
 } ITTransientStatusWindowExitMode;
 
-
 typedef enum {
 typedef enum {
-    ITTransientStatusWindowNoBackground,
-    ITTransientStatusWindowRounded,
-    ITTransientStatusWindowSquare,
-    ITTransientStatusWindowMetal,
-    ITTransientStatusWindowMetalUtility,
-    ITTransientStatusWindowAquaUtility
+       ITTransientStatusWindowNoBackground,
+       ITTransientStatusWindowRounded,
+       ITTransientStatusWindowSquare,
+       ITTransientStatusWindowMetal,
+       ITTransientStatusWindowMetalUtility,
+       ITTransientStatusWindowAquaUtility
 } ITTransientStatusWindowBackgroundType;
 
 typedef enum {
 } ITTransientStatusWindowBackgroundType;
 
 typedef enum {
-    ITTransientStatusWindowRegular,
-    ITTransientStatusWindowSmall,
-    ITTransientStatusWindowMini
+       ITTransientStatusWindowRegular,
+       ITTransientStatusWindowSmall,
+       ITTransientStatusWindowMini
 } ITTransientStatusWindowSizing;
 
 } ITTransientStatusWindowSizing;
 
-@interface ITTransientStatusWindow : NSWindow <ITWindowPositioning , ITWindowMotility> {
-
-    ITWindowVisibilityState                _visibilityState;
-    ITTransientStatusWindowExitMode        _exitMode;
-    float                                  _exitDelay;
-    ITTransientStatusWindowBackgroundType  _backgroundType;
-    ITWindowEffect                        *_entryEffect;
-    ITWindowEffect                        *_exitEffect;
-    double                                 _effectProgress;
-    ITVerticalWindowPosition               _verticalPosition;
-    ITHorizontalWindowPosition             _horizontalPosition;
-    ITTransientStatusWindowSizing          _sizing;
-    float                                  _screenPadding;
-//    int                                    _screenNumber;
+@interface ITTransientStatusWindow : NSWindow <ITWindowPositioning, ITWindowMotility> {
+       ITWindowVisibilityState _visibilityState;
+       ITTransientStatusWindowExitMode _exitMode;
+       float _exitDelay;
+       ITTransientStatusWindowBackgroundType _backgroundType;
+       ITWindowEffect *_entryEffect;
+       ITWindowEffect *_exitEffect;
+       double _effectProgress;
+       ITVerticalWindowPosition _verticalPosition;
+       ITHorizontalWindowPosition _horizontalPosition;
+       ITTransientStatusWindowSizing _sizing;
+       float _screenPadding;
        NSScreen *_screen;
        NSScreen *_screen;
-
-    BOOL _reallyIgnoresEvents;
-    
-    NSTimer *_exitTimer;
-
-    NSView *_contentSubView;           
+       BOOL _reallyIgnoresEvents;
+       NSTimer *_exitTimer;
+       NSView *_contentSubView;                
 }
 
 + (id)sharedWindow;
 
 }
 
 + (id)sharedWindow;
 
-- (id)initWithContentView:(NSView *)contentView
-                 exitMode:(ITTransientStatusWindowExitMode)exitMode
-           backgroundType:(ITTransientStatusWindowBackgroundType)backgroundType;
+- (id)initWithContentView:(NSView *)contentView exitMode:(ITTransientStatusWindowExitMode)exitMode backgroundType:(ITTransientStatusWindowBackgroundType)backgroundType;
 
 - (void)appear:(id)sender;
 - (void)vanish:(id)sender;
 
 
 - (void)appear:(id)sender;
 - (void)vanish:(id)sender;
 
-- (void)setScreen:(NSScreen *)newScreen;
-
 - (void)setSizing:(ITTransientStatusWindowSizing)newSizing;
 - (ITTransientStatusWindowSizing)sizing;
 
 - (void)setSizing:(ITTransientStatusWindowSizing)newSizing;
 - (ITTransientStatusWindowSizing)sizing;
 
@@ -97,12 +81,6 @@ typedef enum {
 - (ITTransientStatusWindowBackgroundType)backgroundType;
 - (void)setBackgroundType:(ITTransientStatusWindowBackgroundType)newType;
 
 - (ITTransientStatusWindowBackgroundType)backgroundType;
 - (void)setBackgroundType:(ITTransientStatusWindowBackgroundType)newType;
 
-- (ITVerticalWindowPosition)verticalPosition;
-- (void)setVerticalPosition:(ITVerticalWindowPosition)newPosition;
-
-- (ITHorizontalWindowPosition)horizontalPosition;
-- (void)setHorizontalPosition:(ITHorizontalWindowPosition)newPosition;
-
 - (float)effectProgress;
 - (void)setEffectProgress:(float)newProgress;
 
 - (float)effectProgress;
 - (void)setEffectProgress:(float)newProgress;
 
@@ -112,5 +90,4 @@ typedef enum {
 - (ITWindowEffect *)exitEffect;
 - (void)setExitEffect:(ITWindowEffect *)newEffect;
 
 - (ITWindowEffect *)exitEffect;
 - (void)setExitEffect:(ITWindowEffect *)newEffect;
 
-
-@end
+@end
\ No newline at end of file