Hi Jean-Sébastien, >> And what is the rationale behind the decision to set supportsResize to >> false by default? I think users will always expect a window to be >> resizable; is there a performance reason, or some other reason, for it >> not to be? At least on Linux, resizing the window does not seem to >> have any negative effect.
I believe the supportsResize flag just got set to this value when the traits structure was implemented initially. For the case at hand, a possibly simple & slightly better solution would be to set this flag to true in the osgviewer application itself in order to avoid breaking existing applications that rely on this flag's current default value. André -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay Sent: June-21-07 1:15 AM To: [email protected] Subject: RE: [osg-users] How can I render a frame on demand? Hello André, >>> The other question is why is the window resizable by default on Linux >>> and not on Windows, with the stock osgViewer? Shouldn't they both have >>> the same default behavior? > > Yes they should. A search of the supportsResize traits in the latest SVN > shows that only the GraphicsWindowWin32 and GraphicsWindowCarbon > implementations seem to be honoring that flag. Looks like windows are always > resizable on the Linux platform for the moment. (I'm not trying to start another rhetoric debate here [sorry about the last one...], just trying to understand the design decisions...) Thanks, J-S -- ______________________________________________________ Jean-Sebastien Guay [EMAIL PROTECTED] http://whitestar02.webhop.org/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
