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/gameMainSelector.h | |
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/gameMainSelector.h')
-rw-r--r-- | ui/gameMainSelector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gameMainSelector.h b/ui/gameMainSelector.h index e6a86d2..8c2be4b 100644 --- a/ui/gameMainSelector.h +++ b/ui/gameMainSelector.h @@ -20,13 +20,13 @@ public: virtual bool click(const SDL_MouseButtonEvent &, const Ray<GlobalPosition3D> &); virtual bool move(const SDL_MouseMotionEvent &, const Ray<GlobalPosition3D> &); virtual bool handleInput(const SDL_Event &); - virtual void render(); + virtual void render(bool & open); virtual void render(const SceneShader &, const Frustum &) const; }; GameMainSelector(const Camera * c); - void render() const override; + void render() override; void render(const SceneShader & shader, const Frustum &) const override; bool handleInput(const SDL_Event & e) override; |