Hi Robert, I've only tried it on Windows, and about the version where it was working, maybe it was 2 or 3 weeks ago, but I am really not sure, I've made a fresh OSG compile last night from the SVN but I can't remember when I dit it the previous time... :/
I'm really sorry to not investigate further but I don't have time currently, I'll try to give it a look next week. Best regards, On Fri, Jun 12, 2009 at 8:34 PM, Robert Osfield <[email protected]>wrote: > 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<[email protected]> 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 <[email protected]> > 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 > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Serge Lages http://www.tharsis-software.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

