34 GLFWwindow *window_ =
nullptr;
47 void create(std::string window_name,
int width,
int height);
void swapBuffer()
swap the buffer
Definition: window.cpp:76
void hide()
hide windowProc
Definition: window.cpp:92
bool shouldClose()
Definition: window.cpp:102
WindowFlags
Definition: window.h:22
~Window()
destroys the window handle
Definition: window.cpp:38
void show()
show window
Definition: window.cpp:97
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:43
bool keyPressed(key k) const
Definition: window.cpp:112
key
Definition: input.h:25
void clearBuffer()
clear buffer
Definition: window.cpp:82
Window & operator=(Window const &)=delete
void pollEvents() const
Definition: window.cpp:107