#ifndef BOOKMOUSE_HPP #define BOOKMOUSE_HPP #include "gl_context.hpp" #include "imgui_context.hpp" #include "sdl_context.hpp" #include "sdl_main_window.hpp" namespace bookmouse { class Bookmouse { public: Bookmouse() noexcept(false); int run(); private: SDL_Event pollEvent(); void updateState(); void renderFrame(); void menuBar(); void openDialog(); SdlContext m_sdlContext; SdlMainWindow m_mainWindow; GlContext m_glContext; ImguiContext m_imgui; bool m_running{true}; bool m_openDialog{false}; }; } // namespace bookmouse #endif