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

Function createOutput

include/helpers.hpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124template <class TPortWidget>
125TPortWidget* createOutput(math::Vec pos, engine::Module* module, int outputId) {
126 TPortWidget* o = new TPortWidget;
127 o->box.pos = pos;
128 o->app::PortWidget::module = module;
129 o->app::PortWidget::type = engine::Port::OUTPUT;
130 o->app::PortWidget::portId = outputId;
131 return o;
132}
133
134
135template <class TPortWidget>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected