Hi,

I have made my own camera manipulator to customize the behaviour of the
camera interaction. One of the things I wish to do is to give feedback to
the user what he is about to do using different mouse-cursors. One example
would be to change the mouse cursor to certain arrow-shapes when a certain
key combination is done.

My problem is I cannot really get my head around how to do that in a nice
way. It would be 'natural' in a sense to expose the mouse cursor
information in the osgGA::GUIActionAdapter which is passed down with the
handle-calls. The action adapter already has functions for mouse
positioning.

I can change my code so I give my manipulator access to the windowing
system (the view or similar), where this can be done. Another way would be
to add callbacks so the rest of the system knows when I am dragging, and
can change the cursor accordingly.

Before I do that, I thought I'll ask the question to the community.


Best regards,

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

Reply via email to