MCPcopy Create free account
hub / github.com/VCVRack/AudibleInstruments / onAction

Method onAction

src/Elements.cpp:294–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 Elements* elements;
293 int model;
294 void onAction(const event::Action& e) override {
295 elements->setModel(model);
296 }
297 void step() override {
298 rightText = CHECKMARK(elements->getModel() == model);
299 MenuItem::step();

Callers

nothing calls this directly

Calls 1

setModelMethod · 0.80

Tested by

no test coverage detected