diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-12 18:34:52 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-12 18:34:52 +0000 |
commit | 308e722a1b3fc34ade98e88b050a024cbd2c9f78 (patch) | |
tree | b7228180c846751ac44d792c415442f77acecdb6 /src/gui/item_amount.h | |
parent | abe13c1a2b9338e9a3001128954cc9fb6125ce0f (diff) | |
download | mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.tar.gz mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.tar.bz2 mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.tar.xz mana-client-308e722a1b3fc34ade98e88b050a024cbd2c9f78.zip |
trade fixes as usual + quit dialog pops up now instead of being under other windows
Diffstat (limited to 'src/gui/item_amount.h')
-rw-r--r-- | src/gui/item_amount.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/item_amount.h b/src/gui/item_amount.h index c3a06ef1..e0faf5de 100644 --- a/src/gui/item_amount.h +++ b/src/gui/item_amount.h @@ -28,6 +28,9 @@ #include <string> #include <sstream> +#define AMOUNT_TRADE_ADD 1 +#define AMOUNT_ITEM_DROP 2 + class ItemAmountWindow : public Window, public gcn::ActionListener { public: /** @@ -46,13 +49,18 @@ class ItemAmountWindow : public Window, public gcn::ActionListener { void action(const std::string& eventId); /** + * Has to be called before setVisible(true). + */ + void ItemAmountWindow::setUsage(int usage); + + /** * Sets default amount value. */ void resetAmount(); private: /** - * Amount of items to be dropped + * Amount of items to be dropped. */ int amount; |