- ITTransientStatusWindowPositionTop,
- ITTransientStatusWindowPositionMiddle,
- ITTransientStatusWindowPositionBottom,
- ITTransientStatusWindowPositionLeft,
- ITTransientStatusWindowPositionCenter,
- ITTransientStatusWindowPositionRight,
- ITTransientStatusWindowOther
-} ITTransientStatusWindowPosition;
-
-typedef enum { // Note: Entry effects described here. Exit does the reverse.
- ITTransientStatusWindowEffectNone, // No effect, window just appears.
- ITTransientStatusWindowEffectDissolve, // Fades in.
- ITTransientStatusWindowEffectSlideVertically, // Slides vertically onto the screen from the nearest edge
- ITTransientStatusWindowEffectSlideHorizontally // Slides horizontally onto the screen from the nearest edge
-} ITTransientStatusWindowEffect;
-
-
-@interface ITTransientStatusWindow : NSWindow {
-
- ITTransientStatusWindowVisibilityState _visibilityState;
- ITTransientStatusWindowExitMode _exitMode;
- float _exitDelay;
- ITTransientStatusWindowBackgroundType _backgroundType;
- ITTransientStatusWindowEffect _entryEffect;
- ITTransientStatusWindowEffect _exitEffect;
- ITTransientStatusWindowPosition _verticalPosition;
- ITTransientStatusWindowPosition _horizontalPosition;
-
- NSTimer *_delayTimer;
- NSTimer *_fadeTimer;
-
-// NSView *_contentSubView;
+ ITTransientStatusWindowRegular,
+ ITTransientStatusWindowSmall,
+ ITTransientStatusWindowMini
+} 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;
+ NSScreen *_screen;
+ BOOL _reallyIgnoresEvents;
+ NSTimer *_exitTimer;
+ NSView *_contentSubView;