15 #include <glad/glad.h>
17 #include <GLFW/glfw3.h>
50 void create(std::string window_name,
int width,
int height);
void swapBuffer()
swap the buffer
Definition: window.cpp:57
void hide()
hide windowProc
Definition: window.cpp:69
GLFWwindow * window_
window handle
Definition: window.h:37
bool shouldClose()
Definition: window.cpp:79
WindowFlags
Definition: window.h:25
~Window()
destroys the window handle
Definition: window.cpp:18
void show()
show window
Definition: window.cpp:74
void create(std::string window_name, int width, int height)
create the window, initialize the handle and update the width and height
Definition: window.cpp:24
void clearBuffer()
clear buffer
Definition: window.cpp:63
void pollEvents() const
Definition: window.cpp:84
Window & operator=(const Window &)=delete