Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarChat.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarChat.hpp')
-rw-r--r--source/frontend/StarChat.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/frontend/StarChat.hpp b/source/frontend/StarChat.hpp
index 28117ff..80cf683 100644
--- a/source/frontend/StarChat.hpp
+++ b/source/frontend/StarChat.hpp
@@ -32,7 +32,7 @@ public:
void addHistory(String const& chat);
String currentChat() const;
- void setCurrentChat(String const& chat);
+ bool setCurrentChat(String const& chat, bool moveCursor = false);
void clearCurrentChat();
ChatSendMode sendMode() const;
@@ -66,10 +66,7 @@ private:
int64_t m_timeChatLastActive;
float m_chatVisTime;
float m_fadeRate;
- unsigned m_fontSize;
- String m_fontDirectives;
- String m_font;
- float m_chatLineHeight;
+ TextStyle m_chatTextStyle;
unsigned m_chatHistoryLimit;
int m_historyOffset;