- 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
- ITTransientStatusWindowEffectPivot // Rotate into place from perpendicular edge
-} ITTransientStatusWindowEffect;
-
-
-@interface ITTransientStatusWindow : NSWindow {
-
- ITTransientStatusWindowVisibilityState _visibilityState;
- ITTransientStatusWindowExitMode _exitMode;
- float _exitDelay;
- ITTransientStatusWindowBackgroundType _backgroundType;
- ITTransientStatusWindowEffect _entryEffect;
- ITTransientStatusWindowEffect _exitEffect;
- float _effectTime;
- double _effectProgress;
- ITTransientStatusWindowPosition _verticalPosition;
- ITTransientStatusWindowPosition _horizontalPosition;
-
- BOOL _reallyIgnoresEvents;
-
- NSTimer *_delayTimer;
- NSTimer *_effectTimer;
-
-// 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;