| 9 | {} |
| 10 | |
| 11 | void ExitDialog::processIntern() |
| 12 | { |
| 13 | ImGui::TextWrapped("%s", "Do you really want to terminate the program?"); |
| 14 | |
| 15 | ImGui::Dummy({0, ImGui::GetContentRegionAvail().y - scale(50.0f)}); |
| 16 | AlienImGui::Separator(); |
| 17 | |
| 18 | if (AlienImGui::Button("OK")) { |
| 19 | MainLoopController::get().scheduleClosing(); |
| 20 | close(); |
| 21 | } |
| 22 | ImGui::SameLine(); |
| 23 | if (AlienImGui::Button("Cancel")) { |
| 24 | close(); |
| 25 | } |
| 26 | ImGui::SetItemDefaultFocus(); |
| 27 | } |
nothing calls this directly
no test coverage detected