YAGE
v0.1.1
Yet Another Game Engine
|
#include <window.h>
Public Member Functions | |
Window () | |
Window (const Window &)=delete | |
Window (Window &&)=delete | |
~Window () | |
destroys the window handle More... | |
Window & | operator= (const Window &)=delete |
Window & | operator= (Window &&)=delete |
void | create (const std::string &window_name, int width, int height, unsigned flags=WindowFlags::SHOWN) |
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... | |
Private Attributes | |
GLFWwindow * | window_ = nullptr |
window handle More... | |
|
default |
|
delete |
|
delete |
yage::Window::~Window | ( | ) |
void yage::Window::clearBuffer | ( | ) |
void yage::Window::create | ( | const std::string & | window_name, |
int | width, | ||
int | height, | ||
unsigned | flags = WindowFlags::SHOWN |
||
) |
void yage::Window::hide | ( | ) |
void yage::Window::show | ( | ) |
void yage::Window::swapBuffer | ( | ) |
|
private |