diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-20 23:22:51 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-20 23:22:51 +0000 |
commit | 1efe681967cc764db3185134e0750349061a6e41 (patch) | |
tree | 7ef9b34d0197a6a97e0de4caec3db3099a76d7b6 /ui/gameMainWindow.cpp | |
parent | Remove unrequired UIShader (diff) | |
download | ilt-1efe681967cc764db3185134e0750349061a6e41.tar.bz2 ilt-1efe681967cc764db3185134e0750349061a6e41.tar.xz ilt-1efe681967cc764db3185134e0750349061a6e41.zip |
Support capturing and reacting to ImGui window closure
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r-- | ui/gameMainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp index cfc64e3..322c6e5 100644 --- a/ui/gameMainWindow.cpp +++ b/ui/gameMainWindow.cpp @@ -25,7 +25,7 @@ public: explicit GameMainToolbar(GameMainSelector * gms) : gms {gms} { } void - render() const override + render() override { if (IltGui::BeginToolbar("bottomBar", ImGuiDir_Down, TOOLBAR_HEIGHT)) { if (ImGui::ImageButton("Build rails", *buildRailsIcon, TOOLBAR_ICON_SIZE)) { |