Reimplemented from OglGui::WindowTimeLineListener. Definition at line 100 of file VideoTimeLine.h. References OglGui::ZoomShiftRuler::Current(), Impala::Visualization::VideoPlayer::FrameNr(), Impala::Visualization::VideoPlayer::GotoFrame(), mTimeLineRuler, and mTLineViewStrip. 00101 { 00102 VideoPlayer* vP = (VideoPlayer*) userData; 00103 int nFrame = (int) floor((nVal / 40.)+0.5); // Finds nearest frame 00104 if (nFrame != vP->FrameNr()) 00105 vP->GotoFrame(nFrame); 00106 else 00107 { // Needed to only allow needle at center of frames 00108 mTLineViewStrip->Current(nFrame*40); 00109 mTimeLineRuler->Current(nFrame*40); 00110 } 00111 }
Here is the call graph for this function:
|