This function is called by the event handling system everytime the user has moved or clicked the mouse. So if you want a window which reacts to the mouse in a specific way, you can inherit a class from Window. Another method to implement mouse behaviour is to use a window listener (in this case you have to inherit a class from WindowListener and attach it to this window, see WindowListener for more details) Reimplemented from OglGui::Window. Definition at line 448 of file DirImViewer.h. References mFlowDragger, OglGui::Window::MouseFunc(), and OglGui::DocFlowDrag::MouseFunc(). 00449 { 00450 mFlowDragger.MouseFunc(msg,but,state,x,y); 00451 Window::MouseFunc(msg,but,state,x,y); 00452 }
Here is the call graph for this function:
|