Reimplemented from OglGui::Window. Reimplemented in OglGui::WindowTimeLine, and Impala::Visualization::SimilarityTimeLine. Definition at line 209 of file ZoomShiftRuler.h. References OglGui::Window::DisplayFunc(), DrawNeedle(), DrawTicks(), mAxisY, OglGui::DocDimensions::mDocW, OglGui::DocDimensions::mDocX, OglGui::Window::mForeGroundColor, mLastX, mMouseState, MouseFunc(), mPropagateMargin, mPropagateScrolling, mShowNeedle, and OglGui::RepeatTimer::RepeatTime(). Referenced by OglGui::WindowTimeLine::DisplayFunc(). 00210 { 00211 Window::DisplayFunc(); 00212 00213 if (mPropagateScrolling && RepeatTime()) 00214 { 00215 if (!(mMouseState & (oglShift | oglControl))) 00216 { 00217 int lastX = mLastX; 00218 mLastX += (mLastX < mPropagateMargin) ? -40 : 40; 00219 //static int cnt = 0; 00220 //printf("propMouse %d\n", cnt++); 00221 MouseFunc(oglMouseMove, oglLeftButton, mMouseState, lastX, 10); 00222 //printf("propMouse done %d\n", --cnt); 00223 } 00224 } 00225 00226 OGC myOGC; 00227 OGCSave(&myOGC); 00228 00229 SetStipple((short)oglSolid); 00230 SetSolidLineColor(mForeGroundColor); 00231 DrawLine(mDocX, mAxisY, mDocX+mDocW, mAxisY); 00232 DrawTicks(); 00233 00234 if (mShowNeedle) 00235 DrawNeedle(); 00236 00237 OGCRestore(&myOGC); 00238 }
Here is the call graph for this function:
|