X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/08f7c7656d8938806db994a646bb6e2f1a7783a7..766d5d9af104b68f61f3b09abac3f4cc88839ce6:/Showcase/Controller.m diff --git a/Showcase/Controller.m b/Showcase/Controller.m index d7808c7..2d0c09a 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,7 +228,7 @@ - (IBAction)setRotation:(id)sender { - [statusWindow setRotation:([sender floatValue] * (pi / 180))]; + [statusWindow setPivot:[sender floatValue]]; } /*************************************************************************/