X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/daa3d05d095cb6ff6038a9c1ed9ccd0e15ef468e..956cd3a65d5db0783f21b732aba63316bfb77fbe:/Showcase/Controller.m diff --git a/Showcase/Controller.m b/Showcase/Controller.m index 1a9eab2..a8914aa 100755 --- a/Showcase/Controller.m +++ b/Showcase/Controller.m @@ -207,22 +207,7 @@ - (IBAction)showStatusWindow:(id)sender { [[statusWindow contentView] setNeedsDisplay:YES]; -/* - [statusWindow setFrame:NSMakeRect( (0.0 - NSWidth([statusWindow frame])), - SW_BORDER, - NSWidth([statusWindow frame]), - NSHeight([statusWindow frame]) ) - display:YES]; -*/ [statusWindow appear:self]; -/* - [statusWindow setFrame:NSMakeRect( SW_BORDER, - SW_BORDER, - NSWidth([statusWindow frame]), - NSHeight([statusWindow frame]) ) - display:YES - animate:YES]; -*/ } - (IBAction)hideStatusWindow:(id)sender @@ -230,11 +215,35 @@ [statusWindow vanish:self]; } -- (IBAction)setRotation:(id)sender +- (IBAction)changeWindowSetting:(id)sender { - NSLog(@"no longer supported"); + switch ( [sender tag] ) + { + case 3010: // Not yet supported. + break; + case 3020: // Not yet supported. + break; + case 3030: // Change vanish delay + [statusWindow setExitDelay:[sender floatValue]]; + break; + case 3040: // Change vertical position + [statusWindow setVerticalPosition:[sender indexOfSelectedItem]]; + break; + case 3050: // Change horizontal position + [statusWindow setHorizontalPosition:[sender indexOfSelectedItem]]; + break; + case 3060: // Change effect speed + [[statusWindow entryEffect] setEffectTime:[sender floatValue]]; + [[statusWindow exitEffect] setEffectTime:[sender floatValue]]; + break; + case 3070: // Change entry effect + break; + case 3080: // Change exit effect + break; + } } + /*************************************************************************/ #pragma mark - #pragma mark ITTabView SUPPORT