| 138 | }; |
| 139 | |
| 140 | void create(const char* const message) |
| 141 | { |
| 142 | MenuOverlay* const overlay = new MenuOverlay; |
| 143 | overlay->bgColor = nvgRGBAf(0, 0, 0, 0.33); |
| 144 | |
| 145 | AsyncDialog* const dialog = new AsyncDialog(message); |
| 146 | overlay->addChild(dialog); |
| 147 | |
| 148 | APP->scene->addChild(overlay); |
| 149 | } |
| 150 | |
| 151 | void create(const char* const message, const std::function<void()> action) |
| 152 | { |
no test coverage detected