All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimpleWindow Class Reference

#include <SimpleWindow.h>

Public Member Functions

virtual ~SimpleWindow ()
 Default destructor. More...
bool initialize (const char *title, unsigned int width, unsigned int height, void *applicationShell)
 Window initialization. More...
WindowWrapperPtr getWindowWrapper ()
 Return our platform-specific resource wrapper. More...
unsigned int width () const
 Return width of window. More...
unsigned int height () const
 Return height of window. More...
bool isValid () const
 Check for validity. More...

Static Public Member Functions

static SimpleWindowPtr create ()
 Static instance create function. More...

Protected Member Functions

 SimpleWindow ()

Protected Attributes

WindowWrapperPtr _windowWrapper
unsigned int _width
unsigned int _height
unsigned int _id

Detailed Description

A platform-independent window class.

Plaform-specific resources are encapsulated by a WindowWrapper instance.

Definition at line 23 of file SimpleWindow.h.

Constructor & Destructor Documentation

virtual SimpleWindow::~SimpleWindow ( )

Default destructor.

SimpleWindow::SimpleWindow ( )

Member Function Documentation

static SimpleWindowPtr SimpleWindow::create ( )

Static instance create function.

Definition at line 27 of file SimpleWindow.h.

WindowWrapperPtr SimpleWindow::getWindowWrapper ( )

Return our platform-specific resource wrapper.

Definition at line 36 of file SimpleWindow.h.

unsigned int SimpleWindow::height ( ) const

Return height of window.

Definition at line 48 of file SimpleWindow.h.

bool SimpleWindow::initialize ( const char *  title,
unsigned int  width,
unsigned int  height,
void applicationShell 

Window initialization.

bool SimpleWindow::isValid ( ) const

Check for validity.

Definition at line 54 of file SimpleWindow.h.

unsigned int SimpleWindow::width ( ) const

Return width of window.

Definition at line 42 of file SimpleWindow.h.

Member Data Documentation

unsigned int SimpleWindow::_height

Definition at line 68 of file SimpleWindow.h.

unsigned int SimpleWindow::_id

Definition at line 71 of file SimpleWindow.h.

unsigned int SimpleWindow::_width

Definition at line 67 of file SimpleWindow.h.

WindowWrapperPtr SimpleWindow::_windowWrapper

Definition at line 64 of file SimpleWindow.h.

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