Le 7 mai 2013 à 10:19, Christian Schmitz a écrit: > There may be none.
Ok. In this case, I think the note (“Works only in Carbon, not in Cocoa. For Cocoa please use NSWindowMBS class.”) should be shortened, since the second part is wrong, should it not? > In general we use API for the TransitionWindow function which is Carbon only. Yes, a cool API that is no longer available. > The animator does indeed offer some animations: > > dim w as new NSWindowMBS(self) > > dim r as NSRectMBS = w.frame > r.x = r.x + 10 > w.animator.setFrame r Then I have to make them from code. kWindowFadeTransitionEffect and kWindowSlideTransitionEffect are certainly easily doable (a short timer that changes the bounds or the alpha value). I won't implement kWindowSheetTransitionEffect because I don't have a parent window. So there remains these two traditional Mac OS effects: kWindowZoomTransitionEffect and kWindowGenieTransitionEffect. For kWindowZoomTransitionEffect, I'd have to draw directly on screen, is it possible? And for kWindowGenieTransitionEffect, any clue you might give is welcome. Should I compute the window's buffer and draw it on screen? Thank you. _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
