#include <sell.h>
List of all members.
Detailed Description
The sell dialog.
Definition at line 41 of file sell.h.
Constructor & Destructor Documentation
SellDialog::SellDialog |
( |
|
) |
|
SellDialog::~SellDialog |
( |
|
) |
[virtual] |
Member Function Documentation
void SellDialog::reset |
( |
|
) |
|
Resets the dialog, clearing inventory.
Definition at line 118 of file sell.cpp.
void SellDialog::addItem |
( |
const Item * |
item, |
|
|
int |
price | |
|
) |
| | |
Adds an item to the inventory.
Definition at line 129 of file sell.cpp.
void SellDialog::action |
( |
const gcn::ActionEvent & |
event |
) |
|
Called when receiving actions from the widgets.
Definition at line 140 of file sell.cpp.
void SellDialog::valueChanged |
( |
const gcn::SelectionEvent & |
event |
) |
|
Updates labels according to selected item.
- See also:
- SelectionListener::selectionChanged
Definition at line 224 of file sell.cpp.
void SellDialog::setMoney |
( |
int |
amount |
) |
|
Gives Player's Money amount.
Definition at line 234 of file sell.cpp.
void SellDialog::logic |
( |
|
) |
|
void SellDialog::setVisible |
( |
bool |
visible |
) |
|
Sets the visibility of this window.
Reimplemented from Window.
Definition at line 290 of file sell.cpp.
void SellDialog::close |
( |
|
) |
[virtual] |
Closes the Buy Window, as well as resetting the current npc.
Reimplemented from Window.
Definition at line 298 of file sell.cpp.
void SellDialog::updateButtonsAndLabels |
( |
|
) |
[private] |
Updates the state of buttons and labels.
Definition at line 240 of file sell.cpp.
Member Data Documentation
The documentation for this class was generated from the following files: