Incremental checkin.
[ITKit.git] / Showcase / Controller.m
index f09bdf7..1a9eab2 100755 (executable)
@@ -1,6 +1,7 @@
 #import "Controller.h"
 #import "ITTransientStatusWindow.h"
 #import "ITTextField.h"
+#import "ITPivotWindowEffect.h"
 
 #define SW_PAD    24.0
 #define SW_SPACE  24.0
     [[statusWindow contentView] addSubview:textField];
 
     [[statusWindow contentView] setNeedsDisplay:YES];
+
+    [statusWindow setEntryEffect:[[ITPivotWindowEffect alloc] initWithWindow:statusWindow]];
+    [statusWindow setExitEffect:[[ITPivotWindowEffect alloc] initWithWindow:statusWindow]];
 }
 
 - (IBAction)showStatusWindow:(id)sender
                                        NSHeight([statusWindow frame]) )
                    display:YES];
 */
-    [statusWindow orderFront:self];
+    [statusWindow appear:self];
 /*
     [statusWindow setFrame:NSMakeRect( SW_BORDER,
                                        SW_BORDER,
 
 - (IBAction)hideStatusWindow:(id)sender
 {
-    [statusWindow orderOut:self];
+    [statusWindow vanish:self];
 }
 
 - (IBAction)setRotation:(id)sender
 {
-    [statusWindow setPivot:[sender floatValue]];
+    NSLog(@"no longer supported");
 }
 
 /*************************************************************************/