Hi Jean-Sébastien,

>> 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.

André

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien
Guay
Sent: June-20-07 3:30 PM
To: [email protected]
Subject: RE: [osg-users] How can I render a frame on demand?

Hello André,

> To have the window resizable, you just need to set the supportsResize flag
> in the graphics window traits at creation time. It is false by default.

Perhaps that should have been mentioned to Himar, the original poster,  
as he was looking for this behavior earlier.

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?

Thanks for the tip,

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/

Reply via email to