summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-16 13:36:04 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-06-16 13:36:04 +0000
commitcf4a8c96a0a3b1910a2094cc1e967e720111abb8 (patch)
tree8d0aa3a56faebd5d19fa00ef00f838e7bbda0fea /src/gui/itemcontainer.h
parent8d801b2c43f7dfd0b279bb263480d38f5694ac06 (diff)
downloadmana-cf4a8c96a0a3b1910a2094cc1e967e720111abb8.tar.gz
mana-cf4a8c96a0a3b1910a2094cc1e967e720111abb8.tar.bz2
mana-cf4a8c96a0a3b1910a2094cc1e967e720111abb8.tar.xz
mana-cf4a8c96a0a3b1910a2094cc1e967e720111abb8.zip
Fixed cutting off bottom item row of inventory in some cases
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r--src/gui/itemcontainer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h
index 9ee6892a..fd38e818 100644
--- a/src/gui/itemcontainer.h
+++ b/src/gui/itemcontainer.h
@@ -74,6 +74,12 @@ class ItemContainer : public gcn::Widget, public gcn::MouseListener
void draw(gcn::Graphics *graphics);
/**
+ * Sets the width of the container. This is used to determine the new
+ * height of the container.
+ */
+ void setWidth(int width);
+
+ /**
* Handles mouse click.
*/
void mousePress(int mx, int my, int button);