9 #ifndef YAGE_CORE_WINDOW_H
10 #define YAGE_CORE_WINDOW_H
34 GLFWwindow *window_ =
nullptr;
47 void create(std::string window_name,
int width,
int height);
bool keyPressed(key k)
Definition: window.cpp:111
void swapBuffer()
swap the buffer
Definition: window.cpp:75
void hide()
hide windowProc
Definition: window.cpp:91
bool shouldClose()
Definition: window.cpp:101
WindowFlags
Definition: window.h:22
~Window()
destroys the window handle
Definition: window.cpp:39
void show()
show window
Definition: window.cpp:96
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:44
key
Definition: input.h:18
void clearBuffer()
clear buffer
Definition: window.cpp:81
void pollEvents() const
Definition: window.cpp:106
Window & operator=(const Window &)=delete