Hi all,

let me raise up this post because I encounter exactly the same problem and was 
wondering if the advice was still the same. Indeed, my application uses a 
CompositeViewer to display several background views, and one foreground view, 
overlapping every background views.


I was trying to implement my own GUIEventHandler but the problem is that the 
CompositeViewer does not pass mouse events to every views. Indeed, the PUSH 
event is only handled by the foreground view, whereas the RELEASE event is only 
handled by the background views.

I tried to subclass the CompositeViewer in order to re-implement the 
eventTraversal(...) method but this seems to be a tricky solution. Is it the 
recommended one ? I was expecting a wonderfull new option that I would have 
missed on the CompositeViewer, like activateEventPassToEveryViews() :)



Thank you in advance,
Stephane

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





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

Reply via email to