| 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; |
nothing calls this directly
no test coverage detected