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

Method CableWidget

src/app/CableWidget.cpp:140–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138
139
140CableWidget::CableWidget() {
141 internal = new Internal;
142 color = color::BLACK_TRANSPARENT;
143
144 outputPlug = new PlugWidget;
145 outputPlug->internal->cableWidget = this;
146 outputPlug->internal->type = engine::Port::OUTPUT;
147
148 inputPlug = new PlugWidget;
149 inputPlug->internal->cableWidget = this;
150 inputPlug->internal->type = engine::Port::INPUT;
151}
152
153
154CableWidget::~CableWidget() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected