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

Method getParam

src/app/ModuleWidget.cpp:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143ParamWidget* ModuleWidget::getParam(int paramId) {
144 return getFirstDescendantOfTypeWithCondition<ParamWidget>(this, [&](ParamWidget* pw) -> bool {
145 return pw->paramId == paramId;
146 });
147}
148
149PortWidget* ModuleWidget::getInput(int portId) {
150 return getFirstDescendantOfTypeWithCondition<PortWidget>(this, [&](PortWidget* pw) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected