diff options
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index 353ac51d..78301669 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -50,7 +50,7 @@ class ItemContainer : public gcn::Widget, public gcn::MouseListener, /** * Constructor. Initializes the graphic. */ - ItemContainer(Inventory *inventory); + ItemContainer(Inventory *inventory, int offset); /** * Destructor. @@ -126,6 +126,7 @@ class ItemContainer : public gcn::Widget, public gcn::MouseListener, Item *mSelectedItem; int mMaxItems; + int mOffset; std::list<gcn::SelectionListener*> mListeners; |