YAGE  v0.1.4.0
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
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
 
bool keyPressed (key k)
 

Constructor & Destructor Documentation

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

destroys the window handle

Member Function Documentation

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

show window

void yage::Window::swapBuffer ( )

swap the buffer


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