Changes for MT
[ITKit.git] / ITTransientStatusWindow.h
index adaf75a..0c60020 100755 (executable)
@@ -19,7 +19,7 @@
 
 
 #define DEFAULT_EXIT_DELAY  3.0
-#define DEFAULT_EFFECT_TIME 0.33
+#define DEFAULT_EFFECT_TIME 0.75
 
 
 @class ITTextField;
@@ -75,18 +75,23 @@ typedef enum {                                      // Note: Entry effects descr
     ITTransientStatusWindowEffect          _entryEffect;
     ITTransientStatusWindowEffect          _exitEffect;
     float                                  _effectTime;
+    double                                 _effectProgress;
     ITTransientStatusWindowPosition        _verticalPosition;
     ITTransientStatusWindowPosition        _horizontalPosition;
 
     BOOL _reallyIgnoresEvents;
     
     NSTimer *_delayTimer;
-    NSTimer *_fadeTimer;
+    NSTimer *_effectTimer;
 
 //  NSView *_contentSubView;           
 }
 
-+ (ITTransientStatusWindow *)sharedWindow;
++ (id)sharedWindow;
+
+- (id)initWithContentView:(NSView *)contentView
+                 exitMode:(ITTransientStatusWindowExitMode)exitMode
+           backgroundType:(ITTransientStatusWindowBackgroundType)backgroundType;
 
 - (ITTransientStatusWindowVisibilityState)visibilityState;
 
@@ -111,7 +116,5 @@ typedef enum {                                      // Note: Entry effects descr
 - (ITTransientStatusWindowEffect)exitEffect;
 - (void)setExitEffect:(ITTransientStatusWindowEffect)newEffect;
 
-- (void)setRotation:(float)angle;
-
 
 @end