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:74
void hide()
hide windowProc
Definition: window.cpp:86
GLFWwindow * window_
window handle
Definition: window.h:37
bool shouldClose()
Definition: window.cpp:96
WindowFlags
Definition: window.h:25
~Window()
destroys the window handle
Definition: window.cpp:31
void show()
show window
Definition: window.cpp:91
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:37
void clearBuffer()
clear buffer
Definition: window.cpp:80
void pollEvents() const
Definition: window.cpp:101
Window & operator=(const Window &)=delete