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:
|