summaryrefslogtreecommitdiff
path: root/src/gui/widgets/emoteshortcutcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-28 23:00:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-28 23:09:33 +0300
commit739fd277e28120cd643ac443a013b482698427ba (patch)
tree3f2a154ce26753f5d2014ea50e440499ab8f9305 /src/gui/widgets/emoteshortcutcontainer.h
parent727808b197394912f212641fb2e39088eab82060 (diff)
downloadManaVerse-739fd277e28120cd643ac443a013b482698427ba.tar.gz
ManaVerse-739fd277e28120cd643ac443a013b482698427ba.tar.bz2
ManaVerse-739fd277e28120cd643ac443a013b482698427ba.tar.xz
ManaVerse-739fd277e28120cd643ac443a013b482698427ba.zip
Hide popups in different hidden windows.
Diffstat (limited to 'src/gui/widgets/emoteshortcutcontainer.h')
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.h b/src/gui/widgets/emoteshortcutcontainer.h
index b1cc866d2..06c009f0b 100644
--- a/src/gui/widgets/emoteshortcutcontainer.h
+++ b/src/gui/widgets/emoteshortcutcontainer.h
@@ -27,6 +27,12 @@
#include <vector>
+#ifdef __GNUC__
+#define A_UNUSED __attribute__ ((unused))
+#else
+#define A_UNUSED
+#endif
+
class AnimatedSprite;
class Image;
class TextPopup;
@@ -73,6 +79,8 @@ class EmoteShortcutContainer : public ShortcutContainer
void mouseExited(gcn::MouseEvent &event);
+ void widgetHidden(const gcn::Event &event);
+
private:
std::vector<const EmoteSprite*> mEmoteImg;