On 6/21/07, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote:
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'll have browse throught the GraphicsWindow* implementations today
and have a ponder about this.
And what is the rationale behind the decision to set supportsResize to
false by default?
I can't recall a specific decision. In the case of full screen
windows resize will be off, for windowed mode it generally makes sense
for the window to resizeable.
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.
No performance issue. And yes under Linux/X11 things certainly seem
to hang together just fine, albeit ignore supportsResize... ;-)
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/