38 return glfwWindowShouldClose(base_window_);
52 glfwSwapBuffers(base_window_);
56 GLFWwindow *base_window_{
nullptr};
58 static constexpr int UI_SCALE{30};
A GLFW window manager.
Definition window.h:15
void wait_events()
Blocks the current theread until there is a new window event.
Definition window.h:44
void swap_buffers()
Switches to the newly rendered frame.
Definition window.h:51
bool should_close() const
Returns true if the GLFW window should be closed.
Definition window.h:37
~window()
Destructor that cleans up GLFW resources.
Definition window.cpp:73