YAGE
v0.1.3.0
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 (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 |
Private Attributes | |
GLFWwindow * | window_ = nullptr |
window handle More... | |
|
default |
|
delete |
|
delete |
yage::Window::~Window | ( | ) |
void yage::Window::clearBuffer | ( | ) |
void yage::Window::create | ( | std::string | window_name, |
int | width, | ||
int | height | ||
) |
void yage::Window::hide | ( | ) |
void yage::Window::pollEvents | ( | ) | const |
bool yage::Window::shouldClose | ( | ) |
void yage::Window::show | ( | ) |
void yage::Window::swapBuffer | ( | ) |
|
private |