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

summaryrefslogtreecommitdiff
path: root/source/windowing/StarTextBoxWidget.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-15 17:14:03 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-15 17:14:03 +1000
commit90f3835dae164b48ee63eaf4e1d586ca34961536 (patch)
treef599bc59c1244426ea8b28704f5bc4ece4a5fbdf /source/windowing/StarTextBoxWidget.hpp
parent37d72623759ecb36e738e5f6853293a8f021d628 (diff)
widget.getText didn't work for labels and buttons??
Diffstat (limited to 'source/windowing/StarTextBoxWidget.hpp')
-rw-r--r--source/windowing/StarTextBoxWidget.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/windowing/StarTextBoxWidget.hpp b/source/windowing/StarTextBoxWidget.hpp
index 11a0527..12294d5 100644
--- a/source/windowing/StarTextBoxWidget.hpp
+++ b/source/windowing/StarTextBoxWidget.hpp
@@ -13,7 +13,7 @@ public:
virtual void update(float dt) override;
- String getText() const;
+ String const& getText() const;
bool setText(String const& text, bool callback = true);
bool getHidden() const;