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

Method getOutputs

src/app/ModuleWidget.cpp:197–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197std::vector<PortWidget*> ModuleWidget::getOutputs() {
198 std::vector<PortWidget*> pws;
199 doIfTypeRecursive<PortWidget>(this, [&](PortWidget* pw) {
200 if (pw->type == engine::Port::OUTPUT)
201 pws.push_back(pw);
202 });
203 return pws;
204}
205
206void ModuleWidget::draw(const DrawArgs& args) {
207 nvgScissor(args.vg, RECT_ARGS(args.clipBox));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected