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

Method appendContextMenu

src/Bandit.cpp:312–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310 }
311
312 void appendContextMenu(Menu* menu) override {
313 Bandit* module = dynamic_cast<Bandit*>(this->module);
314 assert(module);
315
316 menu->addChild(new MenuSeparator());
317 menu->addChild(createBoolPtrMenuItem("Soft clip at ±10V", "", &module->applySaturation));
318
319 }
320};
321
322Model* modelBandit = createModel<Bandit, BanditWidget>("Bandit");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected