summaryrefslogtreecommitdiff
path: root/src/gui/shoplistbox.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-01-10 22:09:42 +0000
committerJared Adams <jaxad0127@gmail.com>2010-01-10 22:37:27 +0000
commitada99b0ff2395e4d0853016306564f471bfc1bc8 (patch)
tree40333b3df190bb314bd98b8a46f48dd415548146 /src/gui/shoplistbox.h
parent34917f8ff44b0224f7199e7f1ffd55ba588a9cf7 (diff)
downloadMana-ada99b0ff2395e4d0853016306564f471bfc1bc8.tar.gz
Mana-ada99b0ff2395e4d0853016306564f471bfc1bc8.tar.bz2
Mana-ada99b0ff2395e4d0853016306564f471bfc1bc8.tar.xz
Mana-ada99b0ff2395e4d0853016306564f471bfc1bc8.zip
Change Buy and Sell dialogs to use ItemPopups
Diffstat (limited to 'src/gui/shoplistbox.h')
-rw-r--r--src/gui/shoplistbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/shoplistbox.h b/src/gui/shoplistbox.h
index 7b232ccb..99d3b9bd 100644
--- a/src/gui/shoplistbox.h
+++ b/src/gui/shoplistbox.h
@@ -25,6 +25,7 @@
#include "gui/widgets/listbox.h"
class ShopItems;
+class ItemPopup;
/**
* A list box, meant to be used inside a scroll area. Same as the Guichan list
@@ -71,6 +72,8 @@ class ShopListBox : public ListBox
* (Good for selling mode.)
*/
void setPriceCheck(bool check);
+
+ void mouseMoved(gcn::MouseEvent &event);
private:
int mPlayerMoney;
@@ -81,6 +84,8 @@ class ShopListBox : public ListBox
*/
ShopItems *mShopItems;
+ ItemPopup *mItemPopup;
+
unsigned int mRowHeight; /**< Row Height */
static float mAlpha;