summaryrefslogtreecommitdiff
path: root/src/gui/item_amount.h
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-06-03 03:15:37 +0000
committerAaron Marks <nymacro@gmail.com>2005-06-03 03:15:37 +0000
commitf4bab20b13d4b11522171b21b35d26ee43727206 (patch)
tree86ac021f074599f6d44779ba0a9656543d098cd9 /src/gui/item_amount.h
parentd7414de0f52f45b0b05d3ca99e85e31d17669e65 (diff)
downloadmana-client-f4bab20b13d4b11522171b21b35d26ee43727206.tar.gz
mana-client-f4bab20b13d4b11522171b21b35d26ee43727206.tar.bz2
mana-client-f4bab20b13d4b11522171b21b35d26ee43727206.tar.xz
mana-client-f4bab20b13d4b11522171b21b35d26ee43727206.zip
Added IntTextBox class (a TextBox which only accepts integers).
Changed passive label in drop item dialog to IntTextBox.
Diffstat (limited to 'src/gui/item_amount.h')
-rw-r--r--src/gui/item_amount.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/item_amount.h b/src/gui/item_amount.h
index d01f2006..0055ab04 100644
--- a/src/gui/item_amount.h
+++ b/src/gui/item_amount.h
@@ -25,6 +25,7 @@
#define _TMW_ITEM_AMOUNT_WINDOW_H
#include "window.h"
+#include "inttextbox.h"
#include <string>
#include <sstream>
@@ -60,8 +61,7 @@ class ItemAmountWindow : public Window, public gcn::ActionListener
void resetAmount();
private:
- int amount; /**< Amount of items to be dropped. */
- gcn::Label *itemAmountLabel; /**< Item amount caption. */
+ IntTextBox *itemAmountTextBox; /**< Item amount caption. */
/**
* Item Amount buttons.