summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-07-01 14:51:23 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-07-01 14:51:23 +0000
commitd3ccf6a0b97ce4189eef4fde606cf5b5f93fac14 (patch)
treef4c4e5b1cc87b34d0a3946c3409882ba222e2ad7 /src/gui/itemcontainer.h
parent59c17d5f465ddcf1956e8cdf1aae1dbda0a1431f (diff)
downloadMana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.gz
Mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.bz2
Mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.tar.xz
Mana-d3ccf6a0b97ce4189eef4fde606cf5b5f93fac14.zip
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)
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r--src/gui/itemcontainer.h8
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;