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

Constructor & Destructor Documentation

yage::Window::Window ( )
default
yage::Window::Window ( Window const &  )
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) const
Window& yage::Window::operator= ( Window const &  )
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: