From d4e28aa97cbce34a0053d3c02cf070ef9065439f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 6 Apr 2017 01:31:12 +0300 Subject: Add quick messages with translation from current server language to default. For use it open emotes/fonts in chat and select T tab. --- src/gui/windows/emotewindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gui/windows/emotewindow.h') diff --git a/src/gui/windows/emotewindow.h b/src/gui/windows/emotewindow.h index 8ba01f9be..66fb0c83c 100644 --- a/src/gui/windows/emotewindow.h +++ b/src/gui/windows/emotewindow.h @@ -57,8 +57,12 @@ class EmoteWindow final : public Window std::string getSelectedFont() const; + int getSelectedTextIndex() const; + void clearFont(); + void clearText(); + void addListeners(ActionListener *const listener); void widgetResized(const Event &event) override final; @@ -74,6 +78,9 @@ class EmoteWindow final : public Window NamesModel *mFontModel A_NONNULLPOINTER; ListBox *mFontPage A_NONNULLPOINTER; ScrollArea *mScrollFontPage A_NONNULLPOINTER; + NamesModel *mTextModel A_NONNULLPOINTER; + ListBox *mTextPage A_NONNULLPOINTER; + ScrollArea *mScrollTextPage A_NONNULLPOINTER; ImageSet *mImageSet; }; -- cgit v1.2.3-60-g2f50