MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / onAction

Method onAction

src/AsyncDialog.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 AsyncDialog* dialog;
81 std::function<void()> action;
82 void onAction(const ActionEvent& e) override {
83 action();
84 dialog->getParent()->requestDelete();
85 }
86 };
87 AsyncOkButton* const okButton = new AsyncOkButton;
88 okButton->box.size.x = buttonWidth;

Callers

nothing calls this directly

Calls 2

requestDeleteMethod · 0.80
getParentMethod · 0.80

Tested by

no test coverage detected