diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-20 09:37:46 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-20 09:37:46 -0700 |
commit | 114559b98b7e8c94b1d84d4d450309fd16ed2a38 (patch) | |
tree | 1f03c1a8eca687bc7feeaa503ff64a7bda8eee6e /src/gui/itemshortcutcontainer.h | |
parent | d1b38ab0264bf922fc5e12e9328eea49cee132c3 (diff) | |
download | mana-client-114559b98b7e8c94b1d84d4d450309fd16ed2a38.tar.gz mana-client-114559b98b7e8c94b1d84d4d450309fd16ed2a38.tar.bz2 mana-client-114559b98b7e8c94b1d84d4d450309fd16ed2a38.tar.xz mana-client-114559b98b7e8c94b1d84d4d450309fd16ed2a38.zip |
Modified the item shortcut bar to show item popups based on a suggestion
made by Jarvellis.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/itemshortcutcontainer.h')
-rw-r--r-- | src/gui/itemshortcutcontainer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/itemshortcutcontainer.h b/src/gui/itemshortcutcontainer.h index 37c61e07..07e2c38d 100644 --- a/src/gui/itemshortcutcontainer.h +++ b/src/gui/itemshortcutcontainer.h @@ -29,6 +29,8 @@ #include "../guichanfwd.h" #include "shortcutcontainer.h" +#include "itempopup.h" + class Image; class Item; @@ -76,8 +78,13 @@ class ItemShortcutContainer : public ShortcutContainer void mouseReleased(gcn::MouseEvent &event); private: + void mouseExited(gcn::MouseEvent &event); + void mouseMoved(gcn::MouseEvent &event); + bool mItemClicked; Item *mItemMoved; + + ItemPopup *mItemPopup; }; #endif |