01569 {
01570 if (mNoSimTLV || mNoShotControl)
01571 return;
01572
01573
01574 if (!mNoShotEditing)
01575 {
01576 mShotLeftBtn = new Button(this,12,24,"|",4,true);
01577 mShotLeftBtn->SetButtonListener(this, BUT_LEFT_SHOT);
01578 }
01579
01580 mShotValueSB = new ValueScrollBar(this,160,24,0,100,50,2);
01581 mShotValueSB->SetValueScrollBarListener(this);
01582
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
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 }