On Tue, 2011-02-08 at 16:59 -0800, Eduardo Poyart wrote:
> Hello,
> 
> 
> It seems like osgWidgets doesn't support double-click.

Well, osgWidget doesn't support or not support it, it's really a feature
of the event handler you have set. The default one is in:

        src/osgWidget/ViewerEventHandler.cpp

..and I certainly do see some code in there referring to DOUBLECLICK.
However, when I wrote that way back I can't say for sure I ever did a
doubleclick test.

I'll try and check it out later, if you don't get to it first.

> What would be a good way to implement it? Timing the clicks on my
> widget manager doesn't work, because I always miss the second click. I
> think that is because OSG's event handler is translating the second
> click into a double-click and osgWidgets never gets informed about the
> double-click.
> 
> 
> I'm willing to submit a patch for osgWidgets, but I would like some
> guidance on the right direction.
> 
> 
> Thanks
> Eduardo
> 
> 
> _______________________________________________
> 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

Reply via email to