MCPcopy Create free account
hub / github.com/VCVRack/Befaco / appendContextMenu

Method appendContextMenu

src/Atte.cpp:167–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166
167 void appendContextMenu(Menu* menu) override {
168
169 Atte* module = dynamic_cast<Atte*>(this->module);
170 assert(module);
171
172 // user can pick +1V, +5V or +10V for the normalled voltage
173 menu->addChild(createIndexPtrSubmenuItem("Normalled voltage", {"+1V", "+5V", "+10V"}, &module->normalledVoltageIdx));
174 }
175
176 void step() override {
177 Atte* module = dynamic_cast<Atte*>(this->module);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected