[osg-users] Window resize

2007-10-15 Thread Johan Johnsson
When the process runs in windowed mode, it is not possible to modify the size of the window. It should be possible to resize the window by standard MS Windows conventions. why does this occur and how can i fix this irritating problem? has it something to do with the traits struct? -- Mr.

Re: [osg-users] Window resize

2007-10-15 Thread Adrian Egli
UNIX/OSX/LINUX export OSG_WINDOW=50 50 200 50 Windows set OSG_WINDOW=100 100 512 512 2007/10/15, Johan Johnsson [EMAIL PROTECTED]: When the process runs in windowed mode, it is not possible to modify the size of the window. It should be possible to resize the window by standard MS Windows

Re: [osg-users] Window resize

2007-10-15 Thread Adrian Egli
Look into the source code, who it's done there. 2007/10/15, Adrian Egli [EMAIL PROTECTED]: UNIX/OSX/LINUX export OSG_WINDOW=50 50 200 50 Windows set OSG_WINDOW=100 100 512 512 2007/10/15, Johan Johnsson [EMAIL PROTECTED] : When the process runs in windowed mode, it is not possible to

Re: [osg-users] Window resize

2007-10-15 Thread David Callu
Hi Johan, HI Adrian Can you give more info on your platform? Can you develop why now the dimension is locked? Which method did you use ? David 2007/10/15, Johan Johnsson [EMAIL PROTECTED]: On Mon, 15 Oct 2007 11:40:53 +0200, Adrian Egli [EMAIL PROTECTED] wrote: think you got

Re: [osg-users] Window resize

2007-10-15 Thread Johan Johnsson
Platform: Mindows OS // Fill the traits structure and get the GraphicsContext for the MAIN window osg::ref_ptrosg::GraphicsContext::Traits traits = new osg::GraphicsContext::Traits; traits-screenNum = 0; traits-doubleBuffer = true; traits-sharedContext = 0;

Re: [osg-users] Window resize

2007-10-15 Thread Stephan Maximilian Huber
Johan Johnsson schrieb: Platform: Mindows OS // Fill the traits structure and get the GraphicsContext for the MAIN window osg::ref_ptrosg::GraphicsContext::Traits traits = new osg::GraphicsContext::Traits; traits-screenNum = 0; traits-doubleBuffer = true;