From abb22cda9a82a323fd8f1d077adefd6970a1abaa Mon Sep 17 00:00:00 2001 From: fschildt Date: Mon, 13 Oct 2025 13:59:54 +0200 Subject: minesweeper: draw colored mine counters --- src/games/Game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/games/Game.cpp') 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; } -- cgit v1.2.3