diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-26 00:30:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-26 00:30:06 +0300 |
commit | c90660f93d2f2b367a55726bd6f8943b82b73efb (patch) | |
tree | 0c7066492c102a98b7bdc9d23a8e37111f13a53e /src/gui/inventorywindow.h | |
parent | 5544b7e2e0b8fcdb9f0ac3762751f34a3383ef84 (diff) | |
download | plus-c90660f93d2f2b367a55726bd6f8943b82b73efb.tar.gz plus-c90660f93d2f2b367a55726bd6f8943b82b73efb.tar.bz2 plus-c90660f93d2f2b367a55726bd6f8943b82b73efb.tar.xz plus-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.h | 6 |
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; |