#include <item_amount.h>

Definition at line 36 of file item_amount.h.
Public Types | |
| enum | Usage { TradeAdd, ItemDrop, StoreAdd, StoreRemove, ItemSplit } |
Public Member Functions | |
| ItemAmountWindow (Usage usage, Window *parent, Item *item, int maxRange=0) | |
| Constructor. | |
| void | action (const gcn::ActionEvent &event) |
| Called when receiving actions from widget. | |
| void | resetAmount () |
| Sets default amount value. | |
| void | close () |
| Schedules the Item Amount window for deletion. | |
Private Attributes | |
| gcn::Label * | mItemAmountLabel |
| Item amount caption. | |
| Item * | mItem |
| int | mMax |
| Usage | mUsage |
| gcn::Slider * | mItemAmountSlide |
| Item Amount buttons. | |
Definition at line 39 of file item_amount.h.
| void ItemAmountWindow::action | ( | const gcn::ActionEvent & | event | ) |
| void ItemAmountWindow::resetAmount | ( | ) |
| void ItemAmountWindow::close | ( | ) | [virtual] |
Schedules the Item Amount window for deletion.
Reimplemented from Window.
Definition at line 175 of file item_amount.cpp.
gcn::Label* ItemAmountWindow::mItemAmountLabel [private] |
Item* ItemAmountWindow::mItem [private] |
Definition at line 70 of file item_amount.h.
int ItemAmountWindow::mMax [private] |
Definition at line 72 of file item_amount.h.
Usage ItemAmountWindow::mUsage [private] |
Definition at line 73 of file item_amount.h.
gcn::Slider* ItemAmountWindow::mItemAmountSlide [private] |
1.5.5