Definition at line 768 of file SegmentationDocumentGuiAnno.h. References OglGui::ScrollBar::ButDecr(), OglGui::ScrollBar::ButIncr(), Impala::Visualization::VideoPlayer::FrameNr(), mNoShotEditing, mShotLeftBtn, mShotRightBtn, mShotValueSB, mShotValueSBAdjusting, mSimTLV, Impala::Visualization::SimilarityTimeLineVideo::Player(), OglGui::ValueScrollBar::SBar(), OglGui::OglWindow::SetBorderBackground(), OglGui::Window::SetState(), and OglGui::ValueScrollBar::SetValue(). Referenced by WindowDisplayEvent(). 00769 { 00770 if (!mSimTLV || !mShotValueSB) 00771 return; 00772 // Feedback for Shot Scrollbar 00773 int playFrame = mSimTLV->Player()->FrameNr(); 00774 mShotValueSBAdjusting = true; 00775 mShotValueSB->SetValue(playFrame); 00776 mShotValueSBAdjusting = false; 00777 mShotValueSB->SBar()->ButDecr() 00778 ->SetBorderBackground((playFrame<fFrame) ? oglRED : 0); 00779 mShotValueSB->SBar()->ButIncr() 00780 ->SetBorderBackground((playFrame>lFrame) ? oglRED : 0); 00781 // Feedback for adjust shot boundaries 00782 if (!mNoShotEditing) 00783 { 00784 mShotLeftBtn ->SetState(((playFrame<kFrame) && mSimTLV) ? 1 : 0); 00785 mShotRightBtn->SetState(((playFrame>kFrame) && mSimTLV) ? 1 : 0); 00786 } 00787 }
Here is the call graph for this function:
|