diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-14 15:22:32 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-14 15:22:32 +0000 |
commit | 0dd8bc994b172f65d96e11e50e51643c24111907 (patch) | |
tree | 0eb6f2d51842b9a448a5f684508cb43cb6a4849f /src/gui/item_amount.cpp | |
parent | f0af955173deacbb11c6eda1766498cd781aa2e5 (diff) | |
download | mana-0dd8bc994b172f65d96e11e50e51643c24111907.tar.gz mana-0dd8bc994b172f65d96e11e50e51643c24111907.tar.bz2 mana-0dd8bc994b172f65d96e11e50e51643c24111907.tar.xz mana-0dd8bc994b172f65d96e11e50e51643c24111907.zip |
Mainly separating core GUI classes from game interface.
Diffstat (limited to 'src/gui/item_amount.cpp')
-rw-r--r-- | src/gui/item_amount.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/item_amount.cpp b/src/gui/item_amount.cpp index 7f609a6c..8cd51b10 100644 --- a/src/gui/item_amount.cpp +++ b/src/gui/item_amount.cpp @@ -29,7 +29,6 @@ ItemAmountWindow::ItemAmountWindow(): Window("Select amount of items to drop.") { - // New labels itemAmountLabel = new gcn::Label("1"); @@ -98,11 +97,10 @@ void ItemAmountWindow::setUsage(int usage) { break; } - } - -void ItemAmountWindow::action(const std::string& eventId) { +void ItemAmountWindow::action(const std::string& eventId) +{ if (eventId == "Cancel") { resetAmount(); |