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

Method onAction

src/MidiThing.cpp:641–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639 struct MidiDeviceChoice : LedDisplayCenterChoiceEx {
640 midi::Port* outPort, *inPort;
641 void onAction(const event::Action& e) override {
642 if (!outPort || !inPort)
643 return;
644 createContextMenu();
645 }
646
647 virtual ui::Menu* createContextMenu() {
648 ui::Menu* menu = createMenu();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected