From d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Tue, 1 Jul 2008 14:51:23 +0000 Subject: Ported some GUI improvements from Legend of Mazeroth (GUI skinning via XML files, item descriptions on mouse-over, map names in minimap window, speech bubbles) --- src/gui/itemcontainer.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui/itemcontainer.h') 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 +#include "itempopup.h" + #include 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 SelectionListenerList; typedef SelectionListenerList::iterator SelectionListenerIterator; -- cgit v1.2.3-60-g2f50