Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

virtual void Impala::Visualization::DirImViewer::MouseFunc ( int  msg,
int  but,
int  state,
int  x,
int  y 
) [inline, virtual]

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 444 of file DirImViewer.h.

References mFlowDragger, OglGui::Window::MouseFunc(), and OglGui::DocFlowDrag::MouseFunc().

00445     {
00446         mFlowDragger.MouseFunc(msg,but,state,x,y);
00447         Window::MouseFunc(msg,but,state,x,y);
00448     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:38 2011 for ImpalaSrc by  doxygen 1.5.1