15 #include <glad/glad.h> 17 #include <GLFW/glfw3.h> 50 void create(
const std::string &window_name,
int width,
int height,
void swapBuffer()
swap the buffer
Definition: window.cpp:51
void hide()
hide windowProc
Definition: window.cpp:65
GLFWwindow * window_
window handle
Definition: window.h:37
void create(const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN)
create the window, initialize the handle and update the width and height
Definition: window.cpp:23
WindowFlags
Definition: window.h:25
~Window()
destroys the window handle
Definition: window.cpp:18
void show()
show window
Definition: window.cpp:70
void clearBuffer()
clear buffer
Definition: window.cpp:57
Project namespace.
Definition: camera2d.cpp:13
Window & operator=(const Window &)=delete