| 237 | struct AsyncCancelButton : Button { |
| 238 | AsyncTextInput* dialog; |
| 239 | void onAction(const ActionEvent& e) override { |
| 240 | dialog->getParent()->requestDelete(); |
| 241 | } |
| 242 | }; |
| 243 | AsyncCancelButton* const cancelButton = new AsyncCancelButton; |
| 244 | cancelButton->box.size.x = buttonWidth; |
nothing calls this directly
no test coverage detected