Planeshift
Public Member Functions | Protected Attributes

pawsTutorialNotifyWindow Class Reference

Window contains a button solely to popup another window showing instructions if the user clicks the button. More...

#include <pawstutorialwindow.h>

List of all members.

Public Member Functions

void HandleMessage (MsgEntry *message)
 Handles tutorial server messages.
bool NextTutorial ()
 The click event of the Instruction window calls this, which activates the next message in the queue, if any.
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *reporter)
 Handle button clicks.
 pawsTutorialNotifyWindow ()
 Constructor.
bool PostSetup ()
 Setup the widget with command/message handling capabilities.
virtual ~pawsTutorialNotifyWindow ()
 Virtual destructor.

Protected Attributes

pawsWidgetinstr_container
 Ptr to the widget that popups when you click the alerter.
csArray< csString > instrArray
 Queue of pending instructions to show, cleared as the user sees them.
pawsMultiLineTextBoxinstructions
 Ptr to the widget that displays the actual text of the instructions for this message.

Detailed Description

Window contains a button solely to popup another window showing instructions if the user clicks the button.

The button appears whenever a tutorial message is received from the server, and disappears within 1 minute if the button is not clicked.

Definition at line 36 of file pawstutorialwindow.h.


Constructor & Destructor Documentation

pawsTutorialNotifyWindow::pawsTutorialNotifyWindow ( )

Constructor.

virtual pawsTutorialNotifyWindow::~pawsTutorialNotifyWindow ( ) [virtual]

Virtual destructor.


Member Function Documentation

void pawsTutorialNotifyWindow::HandleMessage ( MsgEntry message) [virtual]

Handles tutorial server messages.

Implements psClientNetSubscriber.

bool pawsTutorialNotifyWindow::NextTutorial ( )

The click event of the Instruction window calls this, which activates the next message in the queue, if any.

bool pawsTutorialNotifyWindow::OnButtonPressed ( int  mouseButton,
int  keyModifier,
pawsWidget reporter 
) [virtual]

Handle button clicks.

Reimplemented from pawsWidget.

bool pawsTutorialNotifyWindow::PostSetup ( ) [virtual]

Setup the widget with command/message handling capabilities.

Reimplemented from pawsWidget.


Member Data Documentation

Ptr to the widget that popups when you click the alerter.

Definition at line 59 of file pawstutorialwindow.h.

Queue of pending instructions to show, cleared as the user sees them.

Definition at line 63 of file pawstutorialwindow.h.

Ptr to the widget that displays the actual text of the instructions for this message.

Definition at line 61 of file pawstutorialwindow.h.


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