#ifndef IMGUI_CONTEXT_HPP #define IMGUI_CONTEXT_HPP #include "sdl_context.hpp" #include "sdl_main_window.hpp" #include "gl_context.hpp" #include namespace bookmouse { class ImguiContext { public: ImguiContext(GlContext& glContext, SdlContext& sdlContext, SdlMainWindow& mainWindow); ~ImguiContext(); const ImGuiIO& getIO() const; void setIOFlag(ImGuiConfigFlags_ flag) const; bool processEvent(SDL_Event& event) const; void startFrame() const; void render() const; private: SdlMainWindow& m_mainWindow; }; } // namespace bookmouse #endif