Hi Serge,

Good to hear you got it working, useCursor(false) should still work
though... so that is a bug.  Can you say which versions of the OSG
that useCursor(false) was still working on?  Have you tried out other
platforms?

Robert.

On Fri, Jun 12, 2009 at 7:22 PM, Serge Lages<serge.la...@gmail.com> wrote:
> I have an update, using :
>
> osgViewer::ViewerBase::Windows    windows;
>
> viewer.getWindows(windows);
> for (osgViewer::ViewerBase::Windows::iterator itr = windows.begin(); itr !=
> windows.end(); ++itr)
>  {
>     //(*itr)->useCursor(false);
>     (*itr)->setCursor(osgViewer::GraphicsWindow::MouseCursor::NoCursor);
>  }
>
> Instead of setting useCursor(false) works, the cursor is invisible.
>
> On Fri, Jun 12, 2009 at 12:23 PM, Serge Lages <serge.la...@gmail.com> wrote:
>>
>> Hi all,
>>
>> Currently (the SVN version of OSG), hidding the cursor under Windows has
>> no effect. Setting cursor to false on the traits or making something like :
>>
>> osgViewer::ViewerBase::Windows    windows;
>>
>> viewer.getWindows(windows);
>> for (osgViewer::ViewerBase::Windows::iterator itr = windows.begin(); itr
>> != windows.end(); ++itr)
>> {
>>    (*itr)->useCursor(false);
>> }
>>
>> Doesn't work, I always see the cursor...
>> Any idea on which modification has break things ? The same code was
>> working for me some weeks ago, but I can't tell which revision it was...
>>
>> Thanks !
>>
>> Best regards,
>>
>> --
>> Serge Lages
>> http://www.tharsis-software.com
>
>
>
> --
> Serge Lages
> http://www.tharsis-software.com
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to