Definition at line 182 of file ZoomShiftRuler.h. References mCurrent, mPropagateMargin, ShowCurrentAt(), Unit2Pixel(), and OglGui::OglWindow::W(). Referenced by Impala::Visualization::VideoTimeLine::HandleVisibility(), Impala::Visualization::SimilarityTimeLineVideo::HandleVisibility(), and Impala::Visualization::AllFramesTLineVideo::UpDownButtonSelectionEvent(). 00183 { 00184 int presX = Unit2Pixel(mCurrent); 00185 if (presX < mPropagateMargin) 00186 ShowCurrentAt(mPropagateMargin); 00187 if (presX > W()-mPropagateMargin) 00188 ShowCurrentAt(W()-mPropagateMargin); 00189 }
Here is the call graph for this function:
|