So to offset the mouse cursor only to the delta of a center point i found a 
simple solution.
In my case i wanted to hide the default cursor anyway, so didnt have to call 
requestWarpPointer.
Also i couldnt find a clean/fast solution to solve the requestWarpPointer 
recursive call problem without overriding a lot of osg classes and functions.

What i did was just call 
Code:
GraphicsView::useCursor

 and move the custom cursor to the delta of my widget center.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68326#68326





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to