summaryrefslogtreecommitdiff
path: root/src/imgui_context.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-24 20:00:16 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-24 20:00:16 -0500
commit348a1bfb244288b1c78d8ce3c8d8a8cb5c1bdebc (patch)
tree2f174aab662d753f2a9994fe6d0b7a1a06723156 /src/imgui_context.hpp
parent88864f8e3a4d87566d157ac176da3cb56257ca6d (diff)
Start app rendering.
Diffstat (limited to 'src/imgui_context.hpp')
-rw-r--r--src/imgui_context.hpp8
1 files changed, 6 insertions, 2 deletions
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