diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 06:07:59 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 06:07:59 +1000 |
commit | ca1426eabc873f781eb0dd389d45634b7d183250 (patch) | |
tree | 15ea83658ca3824232f14fe4b32ec714e0aa05c6 /source/frontend/StarChatBubbleManager.hpp | |
parent | d5f5fb5ddf0d4a9f0b0e6ac012121926d2fcd949 (diff) |
Lua chat callbacks + better font styling
golly gee whiz!! i hope i didn't fuck something up
Diffstat (limited to 'source/frontend/StarChatBubbleManager.hpp')
-rw-r--r-- | source/frontend/StarChatBubbleManager.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/frontend/StarChatBubbleManager.hpp b/source/frontend/StarChatBubbleManager.hpp index cf46fcc..42b58db 100644 --- a/source/frontend/StarChatBubbleManager.hpp +++ b/source/frontend/StarChatBubbleManager.hpp @@ -26,7 +26,7 @@ public: private: typedef tuple<String, Vec2F> BubbleImage; - typedef tuple<String, unsigned, Vec4B, bool, Vec2F> BubbleText; + typedef tuple<String, TextStyle, bool, Vec2F> BubbleText; struct Bubble { EntityId entity; @@ -64,8 +64,7 @@ private: TextPositioning m_textTemplate; TextPositioning m_portraitTextTemplate; - Color m_color; - int m_fontSize; + TextStyle m_textStyle; Vec2F m_textPadding; BubbleSeparator<Bubble> m_bubbles; |