aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Label.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-13 22:18:30 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-13 22:36:55 +0100
commit4ba1e814b748d57631f6b7afb7eaa63e8435c24e (patch)
treeaa49caab6f299fb42f404ace5907025616aad553 /src/gui/Label.cpp
parent590428425e8d35c96fffca666a50755a65c1cdba (diff)
Add application audio option
Diffstat (limited to 'src/gui/Label.cpp')
-rw-r--r--src/gui/Label.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/Label.cpp b/src/gui/Label.cpp
index 22a302f..773c2f9 100644
--- a/src/gui/Label.cpp
+++ b/src/gui/Label.cpp
@@ -22,6 +22,10 @@ namespace gsr {
text.set_string(std::move(str));
}
+ const std::string& Label::get_text() const {
+ return text.get_string();
+ }
+
mgl::vec2f Label::get_size() {
if(!visible)
return {0.0f, 0.0f};