Hi Stephan, On 1/7/07, Stephan Huber <[EMAIL PROTECTED]> wrote:
> I think a Traits::allowResize flag would probably appropriate. In Traits there is already a bool called supportsResize. But it seems that it is not used in the existing code.
I recalled that after going offline yesterday ;-) Currently the flag isn't used, but it should be... In the case of X11 it'd just disable the resize button on the window decoration. At some pointer we'll need to have a GraphicsWindow::setWindowSize(int x,int y,int width,int height).
Another question: Should we add a VSync-bool to Traits so the GraphicsWindow can enable VSync if needed?
Not all platforms have API support for toggle Vsync, at least I haven't spotted one for X11 yet..., but this needn't hold back platforms that could use such a hint. This enableVsync should be true by default. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
