35 : TGVerticalFrame(w), m_scale(s), m_enabled(
true) {
39 if (addAutoScaleControll)
50 typedef std::vector<std::shared_ptr<FWParameterSetterBase> > sList;
60 AddFrame(
new TGLabel(
this, title),
new TGLayoutHints(kLHintsLeft, leftPad, 0, 0, 0));
66 TGFrame* pframe = ptr->build(
this);
67 AddFrame(pframe,
new TGLayoutHints(kLHintsLeft, leftPad, 0, 0, 0));
FWDoubleParameter m_fixedValToHeight
void addParam(FWParameterBase *, const char *title=nullptr)
FWViewEnergyScale * m_scale
uint16_t const *__restrict__ x
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
~FWViewEnergyScaleEditor() override
FWDoubleParameter m_maxTowerHeight
FWEnumParameter m_scaleMode
FWViewEnergyScaleEditor(FWViewEnergyScale *s, TGCompositeFrame *w, bool addAutoScaleControll=true)
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)