Yet Another Game Engine
|
#include <window.h>
Public Member Functions | |
Window ()=default | |
Window (Window const &)=delete | |
Window (Window &&)=delete | |
~Window () | |
destroys the window handle More... | |
Window & | operator= (Window const &)=delete |
Window & | operator= (Window &&)=delete |
void | create (std::string window_name, int width, int height) |
create the window, initialize the handle and update the width and height More... | |
void | swapBuffer () |
swap the buffer More... | |
void | clearBuffer () |
clear buffer More... | |
void | hide () |
hide windowProc More... | |
void | show () |
show window More... | |
bool | shouldClose () |
void | pollEvents () const |
bool | keyPressed (key k) const |
|
default |
|
delete |
|
delete |
yage::Window::~Window | ( | ) |
destroys the window handle
void yage::Window::clearBuffer | ( | ) |
clear buffer
void yage::Window::create | ( | std::string | window_name, |
int | width, | ||
int | height | ||
) |
create the window, initialize the handle and update the width and height
void yage::Window::hide | ( | ) |
hide windowProc
bool yage::Window::keyPressed | ( | key | k | ) | const |
void yage::Window::pollEvents | ( | ) | const |
bool yage::Window::shouldClose | ( | ) |
void yage::Window::show | ( | ) |
show window
void yage::Window::swapBuffer | ( | ) |
swap the buffer