The Pivot effect is now a part of ITTransientStatusWindow, and includes both EIEO...
[ITKit.git] / Showcase / Controller.m
index d7808c7..2d0c09a 100755 (executable)
 
 - (IBAction)showStatusWindow:(id)sender
 {
-//    [[statusWindow contentView] setNeedsDisplay:YES];
+    [[statusWindow contentView] setNeedsDisplay:YES];
+/*
     [statusWindow setFrame:NSMakeRect( (0.0 - NSWidth([statusWindow frame])),
                                        SW_BORDER,
                                        NSWidth([statusWindow frame]),
                                        NSHeight([statusWindow frame]) )
                    display:YES];
+*/
     [statusWindow orderFront:self];
+/*
     [statusWindow setFrame:NSMakeRect( SW_BORDER,
                                        SW_BORDER,
                                        NSWidth([statusWindow frame]),
                                        NSHeight([statusWindow frame]) )
                    display:YES
                    animate:YES];
+*/
 }
 
 - (IBAction)hideStatusWindow:(id)sender
 
 - (IBAction)setRotation:(id)sender
 {
-    [statusWindow setRotation:([sender floatValue] * (pi / 180))];
+    [statusWindow setPivot:[sender floatValue]];
 }
 
 /*************************************************************************/