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

virtual void Impala::Visualization::SimilarityTimeLine::MouseFunc ( int  msg,
int  btn,
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::ZoomShiftRuler.

Definition at line 306 of file SimilarityTimeLine.h.

References mHelpLineActive, mHelpLineX, mHelpLineY, and OglGui::ZoomShiftRuler::MouseFunc().

00307     {
00308         TimeLineViewStrip::MouseFunc(msg,btn,state,x,y);
00309         mHelpLineActive = (state==oglLeftButton);
00310         mHelpLineX = x;
00311         mHelpLineY = y;
00312     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:48:29 2010 for ImpalaSrc by  doxygen 1.5.1