28 bool start(
const std::string& title,
int width,
int height);
Manages the lifecycle of the GLFW window and ImGui context.
Definition UIManager.h:16
void beginFrame()
Prepares for a new frame (polls events, starts ImGui frame).
Definition UIManager.cpp:90
bool shouldClose() const
Checks if the window should close (e.g., user clicked X).
Definition UIManager.cpp:86
ImGuiContext * mImGuiContext
Definition UIManager.h:59
GLFWwindow * getWindow() const
Definition UIManager.h:55
bool start(const std::string &title, int width, int height)
Initializes GLFW, creates the window, and sets up ImGui.
Definition UIManager.cpp:25
void renderDockspace()
Renders the master dockspace that fills the entire window.
Definition UIManager.cpp:118
GLFWwindow * mWindow
Definition UIManager.h:58
~UIManager()
Definition UIManager.cpp:21
void endFrame()
Finalizes the frame (renders ImGui, swaps buffers).
Definition UIManager.cpp:98
void stop()
Shuts down ImGui and GLFW, destroying the window.
Definition UIManager.cpp:70
UIManager()
Definition UIManager.cpp:19
Definition ChartPanel.h:8