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

virtual void Impala::Visualization::Plot::PlotNeedle::OnMouse ( double  x,
double  y,
int  msg,
int  but,
int  state 
) [inline, virtual]

Reimplemented from Impala::Visualization::Plot::Plottable.

Definition at line 72 of file PlotNeedle.h.

References mDragging, MoveTo(), and mRoundOffset.

00073     {
00074         if (state & (oglShift | oglControl))
00075             return;
00076 
00077         if (msg == oglMouseDown && but == oglLeftButton)
00078         {
00079             mDragging = true;
00080             MoveTo(x+mRoundOffset);
00081         }
00082         if (mDragging && msg == oglMouseMove && (state & oglLeftButton))
00083             MoveTo(x+mRoundOffset);
00084 
00085         if (!(state & oglLeftButton) && mDragging)
00086             mDragging = false;
00087     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:53:03 2010 for ImpalaSrc by  doxygen 1.5.1