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

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

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

01594     {
01595         if (mNoSimTLV || mNoShotControl)
01596             return;
01597 
01598         // Adjust left boundary
01599         if (!mNoShotEditing)
01600         {
01601             mShotLeftBtn = new Button(this,12,24,"|",4,true);
01602             mShotLeftBtn->SetButtonListener(this, BUT_LEFT_SHOT);
01603         }
01604         // Scroll over shot
01605         mShotValueSB = new ValueScrollBar(this,160,24,0,100,50,2);
01606         mShotValueSB->SetValueScrollBarListener(this);
01607         // Adjust right boundary
01608         if (!mNoShotEditing)
01609         {
01610             mShotRightBtn = new Button(this,12,24,"|",4,true);
01611             mShotRightBtn->SetButtonListener(this, BUT_RIGHT_SHOT);
01612         }
01613         if (!mNoShotThreshold)
01614         {
01615             // Dynamic shot threshold
01616             StaticText* sTxt = new StaticText(this, 70, 24, "thr:");
01617             sTxt->SetAlign(oglLeftAlign);
01618             mShotThresholdUDNr =
01619                 new UpDownNumber(sTxt,22,0,48,24,0.2f,12,false,0);
01620             mShotThresholdUDNr->SetUpDownNumberListener(this);
01621             mShotThresholdUDNr->SetIncrement(0.01f);
01622             mShotThresholdUDNr->SetBorderType(4);
01623             mShotThresholdUDNr->SetRange(0.1f,0.6f);
01624         }
01625     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:25:00 2011 for ImpalaSrc by  doxygen 1.5.1