+- (IBAction)appear:(id)sender
+{
+ if ( _visibilityState == ITWindowHiddenState ) {
+ // Window is hidden. Appear as normal, and start the timer.
+ [_entryEffect performAppear];
+ } else if ( _visibilityState == ITWindowVisibleState ) {
+ // Window is completely visible. Simply reset the timer.
+ [self startVanishTimer];
+ } else if ( _visibilityState == ITWindowAppearingState ) {
+ // Window is on its way in. Do nothing.
+ } else if ( _visibilityState == ITWindowVanishingState ) {
+ // Window is on its way out. Cancel the vanish.
+ [_exitEffect cancelVanish];
+ }
+}
+
+- (IBAction)vanish:(id)sender
+{
+ if ( _visibilityState == ITWindowVisibleState ) {
+ // Window is totally visible. Perform exit effect.
+ [_exitEffect performVanish];
+ } else if ( _visibilityState == ITWindowHiddenState ) {
+ // Window is hidden. Do nothing.
+ } else if ( _visibilityState == ITWindowAppearingState ) {
+ // Window is on its way in. Cancel appear.
+ [_entryEffect cancelAppear];
+ } else if ( _visibilityState == ITWindowVanishingState ) {
+ // Window is on its way out. Do nothing.
+ }
+}
+
+- (void)setScreen:(NSScreen *)newScreen
+{
+ [_screen release];
+ _screen = [newScreen retain];
+}
+
+- (NSScreen *)screen
+{
+ return _screen;
+}
+
+- (void)setSizing:(ITTransientStatusWindowSizing)newSizing
+{
+ _sizing = newSizing;
+}
+
+- (ITTransientStatusWindowSizing)sizing
+{
+ return _sizing;
+}
+
+- (ITWindowVisibilityState)visibilityState