diff options
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 |