Planeshift
Public Member Functions

pawsLoadWindow Class Reference

This is the window that is displayed when the game is loading the maps. More...

#include <pawsloading.h>

List of all members.

Public Member Functions

void AddText (const char *text)
void Clear ()
void Draw ()
 Draws the widget and all of it's children.
void HandleMessage (MsgEntry *me)
void Hide ()
 Makes widget invisible and removes focus if widget has current focus.
void InitAnim (csVector2 start, csVector2 dest, csTicks delay)
 Initializing of the dot animation.
 pawsLoadWindow ()
bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void PublishMOTD ()
 Sends the motd message to local listeners.
void Show ()
 Makes widget visible and brings it to the front.
virtual ~pawsLoadWindow ()

Detailed Description

This is the window that is displayed when the game is loading the maps.

Definition at line 45 of file pawsloading.h.


Constructor & Destructor Documentation

pawsLoadWindow::pawsLoadWindow ( )
virtual pawsLoadWindow::~pawsLoadWindow ( ) [virtual]

Member Function Documentation

void pawsLoadWindow::AddText ( const char *  text)
void pawsLoadWindow::Clear ( )
void pawsLoadWindow::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 pawsLoadWindow::HandleMessage ( MsgEntry me) [virtual]

Implements psClientNetSubscriber.

void pawsLoadWindow::Hide ( ) [virtual]

Makes widget invisible and removes focus if widget has current focus.

Sets visible FALSE, hides border if present and then if focused when called it calls SetCurrentFocusedWidget(NULL).

Reimplemented from pawsWidget.

void pawsLoadWindow::InitAnim ( csVector2  start,
csVector2  dest,
csTicks  delay 
)

Initializing of the dot animation.

Parameters:
startA vector representing the start of the animation.
destA vector representing the destination of the animation.
delay
bool pawsLoadWindow::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 pawsLoadWindow::PublishMOTD ( )

Sends the motd message to local listeners.

Used to handle the update of newly spawned custom loading windows.

void pawsLoadWindow::Show ( ) [virtual]

Makes widget visible and brings it to the front.

Sets visible TRUE shows border if present then calls BringToTop() on itself.

Reimplemented from pawsWidget.


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