From bd783d319557b41b5865d51f306a74abbf7af18c Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 21 Jun 2023 00:59:41 +1000 Subject: make the chat really pretty!! also slightly optimized text shadow rendering, made sure glyphs with directives stay centered and added two extra Lua arguments to canvas.drawText --- source/frontend/StarChat.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/frontend/StarChat.hpp') diff --git a/source/frontend/StarChat.hpp b/source/frontend/StarChat.hpp index 4c0dae9..9c1f8f4 100644 --- a/source/frontend/StarChat.hpp +++ b/source/frontend/StarChat.hpp @@ -68,11 +68,13 @@ private: float m_chatVisTime; float m_fadeRate; unsigned m_fontSize; + String m_fontDirectives; float m_chatLineHeight; unsigned m_chatHistoryLimit; int m_historyOffset; CanvasWidgetPtr m_chatLog; + Vec2I m_chatLogPadding; ImageStretchWidgetPtr m_background; int m_defaultHeight; -- cgit v1.2.3