Planeshift
Public Member Functions

pawsGenericView Class Reference

This widget is used to view a mesh in it's own seperate world. More...

#include <pawsgenericview.h>

List of all members.

Public Member Functions

void Draw ()
 Draws the widget and all of it's children.
const char * GetMapName () const
iView * GetView ()
bool LoadMap (const char *map, const char *sector=0)
 Loads a map to use as the backdrop.
 pawsGenericView ()
 pawsGenericView (const pawsGenericView &origin)
bool Setup (iDocumentNode *node)
 Creates the room ( world ) for the mesh to be placed.
 ~pawsGenericView ()

Detailed Description

This widget is used to view a mesh in it's own seperate world.

Definition at line 49 of file pawsgenericview.h.


Constructor & Destructor Documentation

pawsGenericView::pawsGenericView ( )
pawsGenericView::~pawsGenericView ( )
pawsGenericView::pawsGenericView ( const pawsGenericView origin)

Member Function Documentation

void pawsGenericView::Draw ( ) [virtual]

Draws the widget and all of it's children.

Remarks:
Uses clipping rect of it's parent to define drawing area. If the drawing area defined is empty it returns.

Reimplemented from pawsWidget.

const char* pawsGenericView::GetMapName ( ) const [inline]

Definition at line 75 of file pawsgenericview.h.

iView* pawsGenericView::GetView ( ) [inline]

Definition at line 70 of file pawsgenericview.h.

bool pawsGenericView::LoadMap ( const char *  map,
const char *  sector = 0 
)

Loads a map to use as the backdrop.

Parameters:
mapThe full path name of the map to load
sectorThe sector to load the map into.
Returns:
True if the map was loaded correctly. False otherwise.
bool pawsGenericView::Setup ( iDocumentNode *  node) [virtual]

Creates the room ( world ) for the mesh to be placed.

Reimplemented from pawsWidget.


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