#define DEFAULT_EXIT_DELAY 3.0
-#define DEFAULT_EFFECT_TIME 0.33
+#define DEFAULT_EFFECT_TIME 1.0
@class ITTextField;
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
+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;
ITTransientStatusWindowEffect _entryEffect;
ITTransientStatusWindowEffect _exitEffect;
float _effectTime;
+ double _effectProgress;
ITTransientStatusWindowPosition _verticalPosition;
ITTransientStatusWindowPosition _horizontalPosition;
BOOL _reallyIgnoresEvents;
NSTimer *_delayTimer;
- NSTimer *_fadeTimer;
+ NSTimer *_effectTimer;
// NSView *_contentSubView;
}
- (ITTransientStatusWindowEffect)exitEffect;
- (void)setExitEffect:(ITTransientStatusWindowEffect)newEffect;
-- (void)setRotation:(float)angle;
-
@end