diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 19:29:21 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 19:29:21 +1000 |
commit | 994c533a0f7b4aa1a1530405505a53546252e1d1 (patch) | |
tree | 3e190174ef93a35f53b842c61098544df8216356 /source/windowing/StarLabelWidget.hpp | |
parent | 856e93be3f1a443db2679ad7db9f6890a9b4d936 (diff) |
Improve planet name title
They began showing during the warp cinematic and their fade-out timing was wrong.
Diffstat (limited to 'source/windowing/StarLabelWidget.hpp')
-rw-r--r-- | source/windowing/StarLabelWidget.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/windowing/StarLabelWidget.hpp b/source/windowing/StarLabelWidget.hpp index 725354c..de692ce 100644 --- a/source/windowing/StarLabelWidget.hpp +++ b/source/windowing/StarLabelWidget.hpp @@ -19,6 +19,7 @@ public: Maybe<unsigned> getTextCharLimit() const; void setText(String newText); void setFontSize(int fontSize); + void setFontMode(FontMode fontMode); void setColor(Color newColor); void setAnchor(HorizontalAnchor hAnchor, VerticalAnchor vAnchor); void setWrapWidth(Maybe<unsigned> wrapWidth); @@ -37,6 +38,7 @@ private: String m_text; int m_fontSize; + FontMode m_fontMode; Color m_color; HorizontalAnchor m_hAnchor; VerticalAnchor m_vAnchor; |