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

Method appendContextMenu

src/Iroi.cpp:1409–1418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1407 };
1408
1409 void appendContextMenu(Menu *menu) override {
1410 IroiVCV *module = dynamic_cast<IroiVCV *>(this->module);
1411 assert(module);
1412
1413 menu->addChild(
1414 createIndexPtrSubmenuItem("Knob mode", {"Normal", "Alt (hold Shift)", "Mod", "CV", "Rnd"}, &module->editMode));
1415 menu->addChild(new MenuSeparator());
1416 menu->addChild(createBoolPtrMenuItem("Use native VCV randomisation", "", &module->useNativeRackRandomisation));
1417 menu->addChild(new SlewTimeSider(module, module->slewTimeParamQuantity));
1418 }
1419};
1420
1421Model *modelIroi = createModel<IroiVCV, IroiWidget>("Iroi");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected