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

void Impala::Visualization::SegmentationDocumentGuiAnno::GuiVideoShotControl (  )  [inline, private]

Definition at line 1568 of file SegmentationDocumentGuiAnno.h.

References BUT_LEFT_SHOT, BUT_RIGHT_SHOT, mNoShotControl, mNoShotEditing, mNoShotThreshold, mNoSimTLV, mShotLeftBtn, mShotRightBtn, mShotThresholdUDNr, mShotValueSB, OglGui::StaticText::SetAlign(), OglGui::OglWindow::SetBorderType(), OglGui::Button::SetButtonListener(), OglGui::UpDownNumber::SetIncrement(), OglGui::UpDownNumber::SetRange(), OglGui::UpDownNumber::SetUpDownNumberListener(), and OglGui::ValueScrollBar::SetValueScrollBarListener().

Referenced by InitGUI().

01569     {
01570         if (mNoSimTLV || mNoShotControl)
01571             return;
01572 
01573         // Adjust left boundary
01574         if (!mNoShotEditing)
01575         {
01576             mShotLeftBtn = new Button(this,12,24,"|",4,true);
01577             mShotLeftBtn->SetButtonListener(this, BUT_LEFT_SHOT);
01578         }
01579         // Scroll over shot
01580         mShotValueSB = new ValueScrollBar(this,160,24,0,100,50,2);
01581         mShotValueSB->SetValueScrollBarListener(this);
01582         // Adjust right boundary
01583         if (!mNoShotEditing)
01584         {
01585             mShotRightBtn = new Button(this,12,24,"|",4,true);
01586             mShotRightBtn->SetButtonListener(this, BUT_RIGHT_SHOT);
01587         }
01588         if (!mNoShotThreshold)
01589         {
01590             // Dynamic shot threshold
01591             StaticText* sTxt = new StaticText(this, 70, 24, "thr:");
01592             sTxt->SetAlign(oglLeftAlign);
01593             mShotThresholdUDNr =
01594                 new UpDownNumber(sTxt,22,0,48,24,0.2f,12,false,0);
01595             mShotThresholdUDNr->SetUpDownNumberListener(this);
01596             mShotThresholdUDNr->SetIncrement(0.01f);
01597             mShotThresholdUDNr->SetBorderType(4);
01598             mShotThresholdUDNr->SetRange(0.1f,0.6f);
01599         }
01600     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:46:59 2010 for ImpalaSrc by  doxygen 1.5.1