diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-10-13 13:59:54 +0200 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-10-13 13:59:54 +0200 |
| commit | abb22cda9a82a323fd8f1d077adefd6970a1abaa (patch) | |
| tree | 126a2de5c91f659b888ba776b7b821b9779e7bfe /src/games/Game.cpp | |
| parent | 6f3590341312b0ffff2304d02b24ac6a5d14b182 (diff) | |
minesweeper: draw colored mine counters
Diffstat (limited to 'src/games/Game.cpp')
| -rw-r--r-- | src/games/Game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/games/Game.cpp b/src/games/Game.cpp index 0520a36..0e6af1c 100644 --- a/src/games/Game.cpp +++ b/src/games/Game.cpp @@ -52,7 +52,7 @@ Game::ProcessDt() void Game::DrawGameOverMenu() { - ImGui::Begin("DefaultGameOverMenu"); + ImGui::Begin("DefaultGameOverMenu", nullptr, s_imgui_window_flags_menu); ImGui::Text("Game Over."); if (ImGui::Button("Play Again")) { m_game_status = game_starting; @@ -66,7 +66,7 @@ Game::DrawGameOverMenu() void Game::DrawGamePausedMenu() { - ImGui::Begin("DefaultGamePauseMenu"); + ImGui::Begin("DefaultGamePauseMenu", nullptr, s_imgui_window_flags_menu); if (ImGui::Button("Resume")) { m_game_status = game_resuming; } |
