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:70
void hide()
hide windowProc
Definition: window.cpp:82
GLFWwindow * window_
window handle
Definition: window.h:37
bool shouldClose()
Definition: window.cpp:92
WindowFlags
Definition: window.h:25
~Window()
destroys the window handle
Definition: window.cpp:28
void show()
show window
Definition: window.cpp:87
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:34
void clearBuffer()
clear buffer
Definition: window.cpp:76
void pollEvents() const
Definition: window.cpp:97
Window & operator=(const Window &)=delete