Planeshift
|
Window contains a list of the available loot items. More...
#include <pawslootwindow.h>
Public Member Functions | |
EID | GetLootingActor () |
const char * | HandleCommand (const char *cmd) |
Handles commands. | |
void | HandleMessage (MsgEntry *message) |
Handles petition server messages. | |
bool | OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *reporter) |
Handle button clicks. | |
pawsLootWindow () | |
Constructor. | |
bool | PostSetup () |
Setup the widget with command/message handling capabilities. | |
virtual | ~pawsLootWindow () |
Virtual destructor. | |
Protected Member Functions | |
void | AddLootItem () |
Function to add the loot to the listbox given a csArray;. | |
void | SetText (int rowNum, int colNum, const char *fmt,...) |
Quicker way to set text for each column in the listbox: | |
Protected Attributes | |
bool | grouped |
EID | lootEntity |
pawsListBox * | lootList |
List widget of loot for easy access. | |
pawsButton * | Roll_btn |
group roll buttons | |
pawsButton * | RollAll_btn |
Window contains a list of the available loot items.
with options to take them, roll for them or cancel the window.
NOTE: the current expected columns for the listbox are as follows:
1) icon 2) item name
Definition at line 46 of file pawslootwindow.h.
pawsLootWindow::pawsLootWindow | ( | ) |
Constructor.
virtual pawsLootWindow::~pawsLootWindow | ( | ) | [virtual] |
Virtual destructor.
void pawsLootWindow::AddLootItem | ( | ) | [protected] |
Function to add the loot to the listbox given a csArray;.
EID pawsLootWindow::GetLootingActor | ( | ) | [inline] |
Definition at line 67 of file pawslootwindow.h.
const char* pawsLootWindow::HandleCommand | ( | const char * | cmd | ) | [virtual] |
Handles commands.
Implements psCmdBase.
void pawsLootWindow::HandleMessage | ( | MsgEntry * | message | ) | [virtual] |
Handles petition server messages.
Implements psCmdBase.
bool pawsLootWindow::OnButtonPressed | ( | int | mouseButton, |
int | keyModifier, | ||
pawsWidget * | reporter | ||
) | [virtual] |
Handle button clicks.
Reimplemented from pawsWidget.
bool pawsLootWindow::PostSetup | ( | ) | [virtual] |
Setup the widget with command/message handling capabilities.
Reimplemented from pawsWidget.
Quicker way to set text for each column in the listbox:
bool pawsLootWindow::grouped [protected] |
Definition at line 84 of file pawslootwindow.h.
EID pawsLootWindow::lootEntity [protected] |
Definition at line 87 of file pawslootwindow.h.
pawsListBox* pawsLootWindow::lootList [protected] |
List widget of loot for easy access.
Definition at line 78 of file pawslootwindow.h.
pawsButton* pawsLootWindow::Roll_btn [protected] |
group roll buttons
Definition at line 81 of file pawslootwindow.h.
pawsButton* pawsLootWindow::RollAll_btn [protected] |
Definition at line 82 of file pawslootwindow.h.