From 739fd277e28120cd643ac443a013b482698427ba Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Sep 2011 23:00:20 +0300 Subject: Hide popups in different hidden windows. --- src/gui/widgets/emoteshortcutcontainer.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui/widgets/emoteshortcutcontainer.h') 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 +#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 mEmoteImg; -- cgit v1.2.3-60-g2f50