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 (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...
 

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 ( std::string  window_name,
int  width,
int  height 
)
void yage::Window::hide ( )
Window& yage::Window::operator= ( const Window )
delete
Window& yage::Window::operator= ( Window &&  )
delete
void yage::Window::pollEvents ( ) const
bool yage::Window::shouldClose ( )
void yage::Window::show ( )
void yage::Window::swapBuffer ( )

Member Data Documentation

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

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