From 348a1bfb244288b1c78d8ce3c8d8a8cb5c1bdebc Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 24 Sep 2024 20:00:16 -0500 Subject: Start app rendering. --- src/imgui_context.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/imgui_context.hpp') diff --git a/src/imgui_context.hpp b/src/imgui_context.hpp index 520a711..94bac3d 100644 --- a/src/imgui_context.hpp +++ b/src/imgui_context.hpp @@ -13,11 +13,15 @@ class ImguiContext { ImguiContext(GlContext& glContext, SdlContext& sdlContext, SdlMainWindow& mainWindow); ~ImguiContext(); - const ImGuiIO& getIO(); + const ImGuiIO& getIO() const; - void setIOFlag(ImGuiConfigFlags_ flag); + void setIOFlag(ImGuiConfigFlags_ flag) const; + bool processEvent(SDL_Event& event) const; + void startFrame() const; + void render() const; private: + SdlMainWindow& m_mainWindow; }; } // namespace bookmouse -- cgit v1.2.3