ork::Window Class Reference
[ui]

A window, displays the default FrameBuffer and receives user interface events. More...

#include <Window.h>

Inheritance diagram for ork::Window:
ork::EventHandler ork::Object ork::GlutWindow

List of all members.

Classes

class  Parameters
 A set of Window parameters. More...

Public Member Functions

 Window (const Parameters &params)
 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.

Detailed Description

A window, displays the default FrameBuffer and receives user interface events.


Constructor & Destructor Documentation

ork::Window::Window ( const Parameters params  ) 

Creates a new window.

If the window size is 0,0 a full screen window is created.

Parameters:
params the parameters of the window.
virtual ork::Window::~Window (  )  [virtual]

Deletes this window.


Member Function Documentation

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.


Generated on Mon Oct 18 09:36:12 2010 for ork by  doxygen 1.6.1