Hello again :),

Jeremy Moles wrote:
> 
> 
> > From the addremove example from the sources, I see we can either set a mask 
> > within the widget (like in "Button"), or add callbacks in the Window. Is 
> > there a preference on doing this? E.g., in the addremove example the 
> > clickable items change their color from within the widget, whereas in the 
> > canvas example this is triggered by a callback in the Window. Are there any 
> > efficiency considerations on this?
> > 
> 
> You MUST set an event mask to get the events in the first place. This
> seems like two different questions, perhaps? :)
> 


Sorry, I was confused by the addremove example. I'm familiar with the 
nodemasks, but I found the example a little bit confusing given the fact it 
overrides methods to be traversed by the EventHandler (which is hidden in the 
createExample method) and sets callbacks.

Thanks!

Daniel

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





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

Reply via email to