Hi Robert,

>> Just a quick question about the windows side, if I set the default of
>> supportsResize to true will GraphicsWindowWin32 create a border when
>> full screen or will be borderless?  The later is what I would desire
>> as window decoration flag is for controlling border.

Looking at the code, the resize border is created only if decorations are
enabled, so you will get a borderless window. The supportsResize flag has no
effect in windowed or full-screen modes unless decorations are enabled.

André

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield
Sent: June-21-07 12:10 PM
To: osg users
Subject: Re: [osg-users] How can I render a frame on demand?

Hi André,

On 6/21/07, André Garneau <[EMAIL PROTECTED]> wrote:
> I believe the supportsResize flag just got set to this value when the
traits
> structure was implemented initially. For the case at hand, a possibly
simple
> & slightly better solution would be to set this flag to true in the
> osgviewer application itself in order to avoid breaking existing
> applications that rely on this flag's current default value.

We could set the supportsResize flag to true in
View::setUpViewAcrossAllScreens() etc, but then it would probably be
easier long term to just set the flag to true by default as most users
will probably expect this out of the box as you get with most apps.

Applications that assume particular defaults are probably few right
now as the osgViewer is pretty new, and if the behavior changes it
won't particular break apps, it just make then behave a bit different
under Windows and OSX, setting the flag to false will return the
original behavior if true desired.

Just a quick question about the windows side, if I set the default of
supportsResize to true will GraphicsWindowWin32 create a border when
full screen or will be borderless?  The later is what I would desire
as window decoration flag is for controlling border.

Robert.

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