A window, displays the default FrameBuffer and receives user interface events. More...
#include <Window.h>
Classes | |
class | Parameters |
A set of Window parameters. More... | |
Public Member Functions | |
Window (const Parameters ¶ms) | |
Creates a new window. | |
virtual | ~Window () |
Deletes this window. | |
virtual int | getWidth () const =0 |
Returns the width of the window. | |
virtual int | getHeight () const =0 |
Returns the height of the window. | |
virtual void | start ()=0 |
Starts the user interface event processing loop. |
A window, displays the default FrameBuffer and receives user interface events.
ork::Window::Window | ( | const Parameters & | params | ) |
Creates a new window.
If the window size is 0,0 a full screen window is created.
params | the parameters of the window. |
virtual ork::Window::~Window | ( | ) | [virtual] |
Deletes this window.
virtual int ork::Window::getHeight | ( | ) | const [pure virtual] |
Returns the height of the window.
Implemented in ork::GlutWindow.
virtual int ork::Window::getWidth | ( | ) | const [pure virtual] |
Returns the width of the window.
Implemented in ork::GlutWindow.
virtual void ork::Window::start | ( | ) | [pure virtual] |
Starts the user interface event processing loop.
Implemented in ork::GlutWindow.