YAGE  v0.1.1
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
yage::Window Class Reference

#include <window.h>

Public Member Functions

 Window ()
 
 Window (const Window &)=delete
 
 Window (Window &&)=delete
 
 ~Window ()
 destroys the window handle More...
 
Windowoperator= (const Window &)=delete
 
Windowoperator= (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...
 

Private Attributes

GLFWwindow * window_ = nullptr
 window handle More...
 

Constructor & Destructor Documentation

yage::Window::Window ( )
default
yage::Window::Window ( const Window )
delete
yage::Window::Window ( Window &&  )
delete
yage::Window::~Window ( )

Member Function Documentation

void yage::Window::clearBuffer ( )
void yage::Window::create ( const std::string &  window_name,
int  width,
int  height,
unsigned  flags = WindowFlags::SHOWN 
)
Window& yage::Window::operator= ( const Window )
delete
Window& yage::Window::operator= ( Window &&  )
delete
void yage::Window::swapBuffer ( )

Member Data Documentation

GLFWwindow* yage::Window::window_ = nullptr
private

The documentation for this class was generated from the following files: