At least under X, disabling window resize is handled through the window manager.  I haven’t looked at RenderSurface for a while, but you need to look for window handling specific code (like setting the title of the window).  I have no idea how Windows handles this stuff.

 

Corbin

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Kreiser
Sent: Wednesday, May 10, 2006 1:28 AM
To: 'osg users'
Subject: [osg-users] How to disable the resize of a viewer window

 

Hi Everyone,

 

How can I set the an osg::Viewer window to a constant size? I don’t want that the users can change the window size. Is there a possibility? And if not, can I at least set the window to a constant aspect ratio? I tried viewer.setLensAutoAspect(true) but that has no effect.

 

Regards,

Matthias

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to