X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/f9ac1766dbe420e477be299e49b2d8f69cafe5ec..7c89200521dd8c6cb8fc8a17c633ac80d4b18bd2:/Showcase/Controller.m diff --git a/Showcase/Controller.m b/Showcase/Controller.m index 16b5c0b..f2680bd 100755 --- a/Showcase/Controller.m +++ b/Showcase/Controller.m @@ -2,6 +2,8 @@ #import "ITTransientStatusWindow.h" #import "ITTextField.h" #import "ITPivotWindowEffect.h" +#import "ITDissolveWindowEffect.h" +#import "ITCutWindowEffect.h" #define SW_PAD 24.0 #define SW_SPACE 24.0 @@ -200,8 +202,10 @@ [[statusWindow contentView] setNeedsDisplay:YES]; - [statusWindow setEntryEffect:[[ITPivotWindowEffect alloc] initWithWindow:statusWindow]]; - [statusWindow setExitEffect:[[ITPivotWindowEffect alloc] initWithWindow:statusWindow]]; +// [statusWindow setEntryEffect:[[ITPivotWindowEffect alloc] initWithWindow:statusWindow]]; +// [statusWindow setExitEffect:[[ITPivotWindowEffect alloc] initWithWindow:statusWindow]]; + [statusWindow setEntryEffect:[[ITCutWindowEffect alloc] initWithWindow:statusWindow]]; + [statusWindow setExitEffect: [[ITDissolveWindowEffect alloc] initWithWindow:statusWindow]]; } - (IBAction)toggleStatusWindow:(id)sender