summaryrefslogtreecommitdiff
path: root/src/gui/emotewindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-06 14:02:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-06 14:12:59 +0300
commit73e7be1617217396c5f1eead52af87bc7fef2357 (patch)
treeb985dfd5f1173a6c7e1c741c796a4a61de0cefa8 /src/gui/emotewindow.h
parent5ffbb0ca66337bd13a21a1875cc5bec5cc9a724d (diff)
downloadmanaplus-73e7be1617217396c5f1eead52af87bc7fef2357.tar.gz
manaplus-73e7be1617217396c5f1eead52af87bc7fef2357.tar.bz2
manaplus-73e7be1617217396c5f1eead52af87bc7fef2357.tar.xz
manaplus-73e7be1617217396c5f1eead52af87bc7fef2357.zip
add colors tab into chat emotes window.
Diffstat (limited to 'src/gui/emotewindow.h')
-rw-r--r--src/gui/emotewindow.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gui/emotewindow.h b/src/gui/emotewindow.h
index 69a646bd8..140ed4c36 100644
--- a/src/gui/emotewindow.h
+++ b/src/gui/emotewindow.h
@@ -25,6 +25,8 @@
#include <guichan/mouselistener.hpp>
+class ColorModel;
+class ColorPage;
class EmotePage;
class ScrollArea;
class TabbedArea;
@@ -46,12 +48,18 @@ class EmoteWindow final : public Window
void clearEmote();
+ std::string getSelectedColor() const;
+
+ void clearColor();
+
void addListeners(gcn::ActionListener *const listener);
private:
TabbedArea *mTabs;
EmotePage *mEmotePage;
- ScrollArea *mScrollEmotePage;
+ ColorModel *mColorModel;
+ ColorPage *mColorPage;
+ ScrollArea *mScrollColorPage;
};
extern EmoteWindow *emoteWindow;