summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.h
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-05-11 22:59:27 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-05-11 22:59:27 +0000
commita95de401e0a8b443865f2d25ecc70fe138ef7957 (patch)
tree72f1e6ead74adc39c3b0d048ca8ab4ea5be96d79 /src/gui/itemcontainer.h
parent732f50f7408a76e108d0af14aa3aaaa81391b1a9 (diff)
downloadmana-a95de401e0a8b443865f2d25ecc70fe138ef7957.tar.gz
mana-a95de401e0a8b443865f2d25ecc70fe138ef7957.tar.bz2
mana-a95de401e0a8b443865f2d25ecc70fe138ef7957.tar.xz
mana-a95de401e0a8b443865f2d25ecc70fe138ef7957.zip
another trade update: selecting items is more logical now, name and desc. are being displayed
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r--src/gui/itemcontainer.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h
index 849bd252..0e84f0af 100644
--- a/src/gui/itemcontainer.h
+++ b/src/gui/itemcontainer.h
@@ -117,7 +117,12 @@ class ItemContainer : public gcn::Widget, public gcn::MouseListener
* Adds a new item.
*/
void addItem(int index, int id, int quantity, bool equipment);
-
+
+ /**
+ * Set selected item to -1.
+ */
+ void selectNone();
+
/**
* Reset all item slots.
*/