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

summaryrefslogtreecommitdiff
path: root/source/frontend/StarChatBubbleManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarChatBubbleManager.hpp')
-rw-r--r--source/frontend/StarChatBubbleManager.hpp5
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;