[osg-users] Change mouse cursor visibility interactively

Robert Osfield robert.osfield at gmail.com
Tue Aug 21 05:29:20 PDT 2007


Hi Benoit,

GraphicsWindow::useCursor(bool) is what you need.

Have a look at the osgstereoimage image example to see it in action.

Robert.

On 8/21/07, Benoit bossavit <bnuaster at gmail.com> wrote:
> Hi,
>
> There is a way with OSG >= v2.0 to change the visibility of mouse cursor
> interactively. I see this option can be changed with
> osg::GraphicsContext::Traits, but I can only retrieve a const of the trait
> of graphicsContext of my osg::Camera. And change the graphicsContext seems
> much for that.
> Something have an answer?
> thank you.
>
> bnua
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


More information about the osg-users mailing list