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 252 of file VideoJpgPlayer.h. References OglGui::Window::MouseFunc(), and NextFrame(). 00253 { 00254 if (msg == oglMouseWheelDown) 00255 NextFrame(); 00256 if (msg == oglMouseWheelUp) 00257 NextFrame(-1); 00258 Window::MouseFunc(msg,btn,state,x,y); 00259 }
Here is the call graph for this function:
|