summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-26 00:30:06 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-26 00:30:06 +0300
commitc90660f93d2f2b367a55726bd6f8943b82b73efb (patch)
tree0c7066492c102a98b7bdc9d23a8e37111f13a53e /src/gui/inventorywindow.h
parent5544b7e2e0b8fcdb9f0ac3762751f34a3383ef84 (diff)
downloadmanaverse-c90660f93d2f2b367a55726bd6f8943b82b73efb.tar.gz
manaverse-c90660f93d2f2b367a55726bd6f8943b82b73efb.tar.bz2
manaverse-c90660f93d2f2b367a55726bd6f8943b82b73efb.tar.xz
manaverse-c90660f93d2f2b367a55726bd6f8943b82b73efb.zip
Show money popup in inventory window if mouse over weight or count bars.
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 952eb2afc..74e16d5f2 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -45,6 +45,7 @@ class ProgressBar;
class SortListModelInv;
class TabStrip;
class TextField;
+class TextPopup;
/**
* Inventory dialog.
@@ -144,6 +145,10 @@ class InventoryWindow final : public Window,
void widgetResized(const gcn::Event &event) override;
+ void mouseMoved(gcn::MouseEvent &event) override;
+
+ void mouseExited(gcn::MouseEvent &event) override;
+
static bool isAnyInputFocused();
private:
@@ -181,6 +186,7 @@ class InventoryWindow final : public Window,
LayoutCell *mNameFilterCell;
LayoutCell *mFilterCell;
LayoutCell *mSlotsBarCell;
+ TextPopup *mTextPopup;
bool mSplit;
bool mCompactMode;