Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Visualization::SegmentationDocumentGuiAnno::ShotControlFeedback ( int  fFrame,
int  lFrame,
int  kFrame 
) [inline]

Definition at line 743 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().

00744     {
00745         if (!mSimTLV || !mShotValueSB)
00746             return;
00747         // Feedback for Shot Scrollbar
00748         int playFrame = mSimTLV->Player()->FrameNr();
00749         mShotValueSBAdjusting = true;
00750         mShotValueSB->SetValue(playFrame);
00751         mShotValueSBAdjusting = false;
00752         mShotValueSB->SBar()->ButDecr()
00753             ->SetBorderBackground((playFrame<fFrame) ? oglRED : 0);
00754         mShotValueSB->SBar()->ButIncr()
00755             ->SetBorderBackground((playFrame>lFrame) ? oglRED : 0);
00756         // Feedback for adjust shot boundaries
00757         if (!mNoShotEditing)
00758         {
00759             mShotLeftBtn ->SetState(((playFrame<kFrame) && mSimTLV) ? 1 : 0); 
00760             mShotRightBtn->SetState(((playFrame>kFrame) && mSimTLV) ? 1 : 0);
00761         }
00762     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:59 2011 for ImpalaSrc by  doxygen 1.5.1