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.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/games/Game.hpp') diff --git a/src/games/Game.hpp b/src/games/Game.hpp index 94d50cb..7de3b66 100644 --- a/src/games/Game.hpp +++ b/src/games/Game.hpp @@ -3,6 +3,7 @@ #include #include +#include #include #include @@ -42,5 +43,10 @@ protected: GameStatus m_game_status {game_starting}; float m_dt_remaining_seconds {0.0f}; uint64_t m_tlast_milliseconds {SDL_GetTicks()}; + + +protected: + static constexpr ImGuiWindowFlags s_imgui_window_flags_menu = ImGuiWindowFlags_NoFocusOnAppearing | ImGuiWindowFlags_AlwaysAutoResize; + static constexpr ImGuiWindowFlags s_imgui_window_flags_default = ImGuiWindowFlags_NoNav | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoInputs | ImGuiWindowFlags_NoScrollbar; }; -- cgit v1.2.3