Planeshift
|
#include <pawsgmgui.h>
Public Member Functions | |
int | GetCurrentTab () |
Returns the currently selected tab in this window. | |
int | GetSelectedGender () |
const char * | GetSelectedName () |
const char * | GetSelectedSector () |
const char * | HandleCommand (const char *cmd) |
Handles commands. | |
void | HandleMessage (MsgEntry *message) |
Handles petition server messages. | |
void | HideWidget (const char *name) |
bool | OnButtonReleased (int mouseButton, int keyModifier, pawsWidget *reporter) |
Handle button clicks. | |
virtual void | OnListAction (pawsListBox *widget, int status) |
Called whenever an item in a child list box is selected. | |
void | OnStringEntered (const char *name, int param, const char *value) |
When the pawsStringPromptWindow is created, a ptr to a class which implements this function is provided, and a "name" string is provided, so that a single window can use 1 callback for many fields. | |
pawsGmGUIWindow () | |
virtual bool | PostSetup () |
This is called after the widget and all of it's children have been created. | |
void | QueryServer () |
virtual void | Show () |
Makes widget visible and brings it to the front. | |
void | ShowWidget (const char *name) |
virtual | ~pawsGmGUIWindow () |
Protected Member Functions | |
void | FillActionList (psMapActionMessage &msg) |
void | FillPlayerList (psGMGuiMessage &msg) |
void | QueryActionLocations () |
void | SetSecurity () |
Protected Attributes | |
pawsListBox * | actionList |
csString | actionXML |
pawsCheckBox * | cbAttackable |
pawsCheckBox * | cbBuddyHide |
pawsCheckBox * | cbGiveKillExp |
pawsCheckBox * | cbInfiniteInventory |
pawsCheckBox * | cbInfiniteMana |
pawsCheckBox * | cbInstantCast |
pawsCheckBox * | cbInvincible |
pawsCheckBox * | cbInvisible |
pawsCheckBox * | cbNeverTired |
pawsCheckBox * | cbNoFallDamage |
pawsCheckBox * | cbQuestTester |
pawsCheckBox * | cbViewAll |
pawsChatWindow * | chatWindow |
CmdHandler * | cmdsource |
csString | cmdToExectute |
pawsTextBox * | playerCount |
pawsListBox * | playerList |
csRef< iVFS > | vfs |
Definition at line 33 of file pawsgmgui.h.
pawsGmGUIWindow::pawsGmGUIWindow | ( | ) |
virtual pawsGmGUIWindow::~pawsGmGUIWindow | ( | ) | [virtual] |
void pawsGmGUIWindow::FillActionList | ( | psMapActionMessage & | msg | ) | [protected] |
void pawsGmGUIWindow::FillPlayerList | ( | psGMGuiMessage & | msg | ) | [protected] |
int pawsGmGUIWindow::GetCurrentTab | ( | ) |
Returns the currently selected tab in this window.
int pawsGmGUIWindow::GetSelectedGender | ( | ) |
const char* pawsGmGUIWindow::GetSelectedName | ( | ) |
const char* pawsGmGUIWindow::GetSelectedSector | ( | ) |
const char* pawsGmGUIWindow::HandleCommand | ( | const char * | cmd | ) | [virtual] |
Handles commands.
Implements psCmdBase.
void pawsGmGUIWindow::HandleMessage | ( | MsgEntry * | message | ) | [virtual] |
Handles petition server messages.
Implements psCmdBase.
void pawsGmGUIWindow::HideWidget | ( | const char * | name | ) |
bool pawsGmGUIWindow::OnButtonReleased | ( | int | mouseButton, |
int | keyModifier, | ||
pawsWidget * | reporter | ||
) | [virtual] |
Handle button clicks.
Reimplemented from pawsWidget.
virtual void pawsGmGUIWindow::OnListAction | ( | pawsListBox * | selected, |
int | status | ||
) | [virtual] |
Called whenever an item in a child list box is selected.
selected | The listbox that has the item selected. |
status | From listbox when a row is selected. |
Reimplemented from pawsWidget.
void pawsGmGUIWindow::OnStringEntered | ( | const char * | name, |
int | param, | ||
const char * | value | ||
) | [virtual] |
When the pawsStringPromptWindow is created, a ptr to a class which implements this function is provided, and a "name" string is provided, so that a single window can use 1 callback for many fields.
Implements iOnStringEnteredAction.
virtual bool pawsGmGUIWindow::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
void pawsGmGUIWindow::QueryActionLocations | ( | ) | [protected] |
void pawsGmGUIWindow::QueryServer | ( | ) |
void pawsGmGUIWindow::SetSecurity | ( | ) | [protected] |
virtual void pawsGmGUIWindow::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.
void pawsGmGUIWindow::ShowWidget | ( | const char * | name | ) |
pawsListBox* pawsGmGUIWindow::actionList [protected] |
Definition at line 97 of file pawsgmgui.h.
csString pawsGmGUIWindow::actionXML [protected] |
Definition at line 116 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbAttackable [protected] |
Definition at line 112 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbBuddyHide [protected] |
Definition at line 113 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbGiveKillExp [protected] |
Definition at line 111 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbInfiniteInventory [protected] |
Definition at line 107 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbInfiniteMana [protected] |
Definition at line 109 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbInstantCast [protected] |
Definition at line 110 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbInvincible [protected] |
Definition at line 102 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbInvisible [protected] |
Definition at line 103 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbNeverTired [protected] |
Definition at line 105 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbNoFallDamage [protected] |
Definition at line 106 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbQuestTester [protected] |
Definition at line 108 of file pawsgmgui.h.
pawsCheckBox* pawsGmGUIWindow::cbViewAll [protected] |
Definition at line 104 of file pawsgmgui.h.
pawsChatWindow* pawsGmGUIWindow::chatWindow [protected] |
Definition at line 84 of file pawsgmgui.h.
CmdHandler* pawsGmGUIWindow::cmdsource [protected] |
Reimplemented from psCmdBase.
Definition at line 85 of file pawsgmgui.h.
csString pawsGmGUIWindow::cmdToExectute [protected] |
Definition at line 115 of file pawsgmgui.h.
pawsTextBox* pawsGmGUIWindow::playerCount [protected] |
Definition at line 99 of file pawsgmgui.h.
pawsListBox* pawsGmGUIWindow::playerList [protected] |
Definition at line 96 of file pawsgmgui.h.
csRef<iVFS> pawsGmGUIWindow::vfs [protected] |
Definition at line 87 of file pawsgmgui.h.