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

summaryrefslogtreecommitdiff
path: root/source/windowing/StarButtonWidget.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-25 14:00:20 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-25 14:00:20 +1000
commit25b021c0cb8f2748d7676a744e82d796d90dfb8e (patch)
treea5b06a1eedbb9854b92daae406cd6e652df509a8 /source/windowing/StarButtonWidget.hpp
parent7783fc7310e53e8f722356935887f1d44406649d (diff)
More improvements to directives
Error logging is back where it should be
Diffstat (limited to 'source/windowing/StarButtonWidget.hpp')
-rw-r--r--source/windowing/StarButtonWidget.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/windowing/StarButtonWidget.hpp b/source/windowing/StarButtonWidget.hpp
index baaab00..e39c90e 100644
--- a/source/windowing/StarButtonWidget.hpp
+++ b/source/windowing/StarButtonWidget.hpp
@@ -69,6 +69,7 @@ public:
virtual void setText(String const& text);
virtual void setFontSize(int size);
+ virtual void setFontDirectives(String directives);
virtual void setTextOffset(Vec2I textOffset);
void setTextAlign(HorizontalAnchor hAnchor);
@@ -122,6 +123,7 @@ protected:
int m_fontSize;
String m_font;
+ String m_fontDirectives;
String m_text;
Vec2I m_textOffset;