01594 {
01595 if (mNoSimTLV || mNoShotControl)
01596 return;
01597
01598
01599 if (!mNoShotEditing)
01600 {
01601 mShotLeftBtn = new Button(this,12,24,"|",4,true);
01602 mShotLeftBtn->SetButtonListener(this, BUT_LEFT_SHOT);
01603 }
01604
01605 mShotValueSB = new ValueScrollBar(this,160,24,0,100,50,2);
01606 mShotValueSB->SetValueScrollBarListener(this);
01607
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
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 }