Planeshift
Classes | Public Member Functions

pawsTitle Class Reference

#include <pawstitle.h>

List of all members.

Classes

struct  pawsTitleButton

Public Member Functions

void Draw ()
 Draws the widget and all of it's children.
void MoveDelta (int, int)
 Move a widget by a delta amount.
void MoveTo (int, int)
 Moves this widget and all of its children to a new screen location.
 pawsTitle (const pawsTitle &origin)
 pawsTitle (pawsWidget *parent, iDocumentNode *node)
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void Resize ()
 Resize a widget based on it's parent's size.
bool Setup (iDocumentNode *node)
 Setup this widget.
void SetWindowRect (const csRect &windowRect)
virtual ~pawsTitle ()

Detailed Description

Definition at line 29 of file pawstitle.h.


Constructor & Destructor Documentation

pawsTitle::pawsTitle ( pawsWidget parent,
iDocumentNode *  node 
)
pawsTitle::pawsTitle ( const pawsTitle origin)
virtual pawsTitle::~pawsTitle ( ) [virtual]

Member Function Documentation

void pawsTitle::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.

void pawsTitle::MoveDelta ( int  dx,
int  dy 
) [inline, virtual]

Move a widget by a delta amount.

This will recurse through all the children calling MoveDelta on each.

Parameters:
dxDelta x
dyDelta y

Reimplemented from pawsWidget.

Definition at line 75 of file pawstitle.h.

void pawsTitle::MoveTo ( int  x,
int  y 
) [inline, virtual]

Moves this widget and all of its children to a new screen location.

Parameters:
xnew x
ynew y

Reimplemented from pawsWidget.

Definition at line 76 of file pawstitle.h.

bool pawsTitle::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.

void pawsTitle::Resize ( ) [inline, virtual]

Resize a widget based on it's parent's size.

Reimplemented from pawsWidget.

Definition at line 74 of file pawstitle.h.

bool pawsTitle::Setup ( iDocumentNode *  ) [virtual]

Setup this widget.

Reimplemented from pawsWidget.

void pawsTitle::SetWindowRect ( const csRect &  windowRect)

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