diff options
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index fad59171..9ae5c9c2 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -29,6 +29,8 @@ #include <guichan/widget.hpp> +#include "itempopup.h" + #include <list> class Image; @@ -133,6 +135,10 @@ class ItemContainer : public gcn::Widget, */ void keyAction(); + void mouseEntered(gcn::MouseEvent &event); + void mouseExited(gcn::MouseEvent &event); + void mouseMoved(gcn::MouseEvent &event); + /** * Moves the highlight in the direction specified. * @@ -167,6 +173,8 @@ class ItemContainer : public gcn::Widget, bool mSwapItems; int mDragPosX, mDragPosY; + ItemPopup *mItemPopup; + typedef std::list<gcn::SelectionListener*> SelectionListenerList; typedef SelectionListenerList::iterator SelectionListenerIterator; |