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

Method onAction

src/AsyncDialog.cpp:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 struct AsyncDismissButton : Button {
51 AsyncDialog* dialog;
52 void onAction(const ActionEvent& e) override {
53 dialog->getParent()->requestDelete();
54 }
55 };
56 AsyncDismissButton* const dismissButton = new AsyncDismissButton;
57 dismissButton->box.size.x = buttonWidth;

Callers

nothing calls this directly

Calls 2

requestDeleteMethod · 0.80
getParentMethod · 0.80

Tested by

no test coverage detected