diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-01 08:18:23 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-01 08:18:23 +0000 |
commit | 1a2dc3de03fee33e8d2a52767424498e2019321e (patch) | |
tree | bea722900f87fba80fdf4257c9d026ceca27a388 /src/gui/itemcontainer.h | |
parent | 15e4760a93edd430053cbad5d638b68593b61bc0 (diff) | |
download | mana-1a2dc3de03fee33e8d2a52767424498e2019321e.tar.gz mana-1a2dc3de03fee33e8d2a52767424498e2019321e.tar.bz2 mana-1a2dc3de03fee33e8d2a52767424498e2019321e.tar.xz mana-1a2dc3de03fee33e8d2a52767424498e2019321e.zip |
Added code to dynamically adjust the itemcontainer size.
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index 6def991a..6c1834ef 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -51,6 +51,11 @@ class ItemContainer : public gcn::Widget, public gcn::MouseListener virtual ~ItemContainer(); /** + * Handles the logic of the ItemContainer + */ + void logic(); + + /** * Draws the items. */ void draw(gcn::Graphics *graphics); @@ -81,6 +86,8 @@ class ItemContainer : public gcn::Widget, public gcn::MouseListener Spriteset *itemset; Image *selImg; Item *selectedItem; + + int maxItems; }; #endif |