Planeshift
|
Window contains a button solely to popup another window showing instructions if the user clicks the button. More...
#include <pawstutorialwindow.h>
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 | |
pawsWidget * | instr_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. | |
pawsMultiLineTextBox * | instructions |
Ptr to the widget that displays the actual text of the instructions for this message. |
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.
pawsTutorialNotifyWindow::pawsTutorialNotifyWindow | ( | ) |
Constructor.
virtual pawsTutorialNotifyWindow::~pawsTutorialNotifyWindow | ( | ) | [virtual] |
Virtual destructor.
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.
pawsWidget* pawsTutorialNotifyWindow::instr_container [protected] |
Ptr to the widget that popups when you click the alerter.
Definition at line 59 of file pawstutorialwindow.h.
csArray<csString> pawsTutorialNotifyWindow::instrArray [protected] |
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.