X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/08f7c7656d8938806db994a646bb6e2f1a7783a7..52fa41abc9d043a31d6cc4d8b05bf899beae949d:/Showcase/Controller.m?ds=sidebyside diff --git a/Showcase/Controller.m b/Showcase/Controller.m index d7808c7..f09bdf7 100755 --- a/Showcase/Controller.m +++ b/Showcase/Controller.m @@ -202,19 +202,23 @@ - (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 @@ -224,12 +228,12 @@ - (IBAction)setRotation:(id)sender { - [statusWindow setRotation:([sender floatValue] * (pi / 180))]; + [statusWindow setPivot:[sender floatValue]]; } /*************************************************************************/ #pragma mark - -#pragma mark ITTransientStatusWindow SUPPORT +#pragma mark ITTabView SUPPORT /*************************************************************************/ - (IBAction)toggleTabDragging:(id)sender