summaryrefslogtreecommitdiff
path: root/src/gui/windows/emotewindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-06 01:31:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-06 01:31:12 +0300
commitd4e28aa97cbce34a0053d3c02cf070ef9065439f (patch)
tree8e7300771b93caeed5faefbe709bd0720766e755 /src/gui/windows/emotewindow.h
parentbe163616712f8c360af9b3940969c7f127043dc0 (diff)
downloadplus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.tar.gz
plus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.tar.bz2
plus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.tar.xz
plus-d4e28aa97cbce34a0053d3c02cf070ef9065439f.zip
Add quick messages with translation from current server language to default.
For use it open emotes/fonts in chat and select T tab.
Diffstat (limited to 'src/gui/windows/emotewindow.h')
-rw-r--r--src/gui/windows/emotewindow.h7
1 files changed, 7 insertions, 0 deletions
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;
};