diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-24 07:44:53 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-24 07:44:53 +1000 |
commit | d0f8aec244a0d71f67863f94cab4c5f84d93de22 (patch) | |
tree | a8e69fa28b7841d942e7e5f994518a69916c45c8 /source/frontend/StarChat.hpp | |
parent | 6ac139321b2a03d71192f852ff958cf6176e1c2d (diff) |
feat: unicode emoji support + other stuff
Diffstat (limited to 'source/frontend/StarChat.hpp')
-rw-r--r-- | source/frontend/StarChat.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/frontend/StarChat.hpp b/source/frontend/StarChat.hpp index 80cf683..df2d63c 100644 --- a/source/frontend/StarChat.hpp +++ b/source/frontend/StarChat.hpp @@ -30,6 +30,7 @@ public: void addLine(String const& text, bool showPane = true); void addMessages(List<ChatReceivedMessage> const& messages, bool showPane = true); void addHistory(String const& chat); + void clear(size_t count = std::numeric_limits<size_t>::max()); String currentChat() const; bool setCurrentChat(String const& chat, bool moveCursor = false); @@ -69,6 +70,7 @@ private: TextStyle m_chatTextStyle; unsigned m_chatHistoryLimit; int m_historyOffset; + String m_chatFormatString; CanvasWidgetPtr m_chatLog; Vec2I m_chatLogPadding; |