Meldryt wrote:
> 
> The reason why i use MouseHandler is because it will send events to the 
> WindowManager which knows all about its windows and widgets.
> 

I may be wrong since I don't know your code in detail but I think about class 
"responsiblities". From my point of view it's not bad to implement a 
MouseEventHandler which updates (in some way) the window manager. Maybe a 
WindowManagerUpdater that will be a collaborator of the MouseEventHandler so 
that your cose will be more testable. You will not have to send events to the 
window manager but just call the proper methods from the WindowManagerUpdater.

Cheers,
Gianni

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to