MCPcopy Create free account
hub / github.com/VCVRack/Rack / createParam

Function createParam

include/helpers.hpp:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86template <class TParamWidget>
87TParamWidget* createParam(math::Vec pos, engine::Module* module, int paramId) {
88 TParamWidget* o = new TParamWidget;
89 o->box.pos = pos;
90 o->app::ParamWidget::module = module;
91 o->app::ParamWidget::paramId = paramId;
92 o->initParamQuantity();
93 return o;
94}
95
96
97template <class TParamWidget>

Callers

nothing calls this directly

Calls 1

initParamQuantityMethod · 0.45

Tested by

no test coverage detected