Planeshift
|
The buddy window that shows your current list of in game 'friends'. More...
#include <pawsbuddy.h>
Public Member Functions | |
void | HandleMessage (MsgEntry *me) |
Handles the messages this widget has subscribed to. | |
bool | OnButtonReleased (int mouseButton, int keyModifier, pawsWidget *widget) |
Called whenever a button is released. | |
void | OnListAction (pawsListBox *widget, int status) |
Called whenever an item in a child list box is selected. | |
virtual void | OnResize () |
Sets the new position of the close button. | |
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. | |
pawsBuddyWindow () | |
bool | PostSetup () |
This is called after the widget and all of it's children have been created. | |
virtual void | Show () |
When the window is opened let the controller window know about it. |
The buddy window that shows your current list of in game 'friends'.
This allows you to send them a tell or add/remove buddies.
Definition at line 42 of file pawsbuddy.h.
pawsBuddyWindow::pawsBuddyWindow | ( | ) |
void pawsBuddyWindow::HandleMessage | ( | MsgEntry * | me | ) | [virtual] |
Handles the messages this widget has subscribed to.
me,: | msgentry containing the message |
Implements psClientNetSubscriber.
bool pawsBuddyWindow::OnButtonReleased | ( | int | button, |
int | keyModifier, | ||
pawsWidget * | widget | ||
) | [virtual] |
Called whenever a button is released.
button | The button released. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
void pawsBuddyWindow::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.
virtual void pawsBuddyWindow::OnResize | ( | ) | [virtual] |
Sets the new position of the close button.
Reimplemented from pawsWidget.
void pawsBuddyWindow::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.
bool pawsBuddyWindow::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
virtual void pawsBuddyWindow::Show | ( | void | ) | [virtual] |
When the window is opened let the controller window know about it.
Reimplemented from pawsControlledWindow.