aboutsummaryrefslogtreecommitdiff
path: root/src/gui/Button.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-22 21:44:06 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-23 18:53:19 +0200
commit54c60d9a18d103011a12939c5029dd35a8e9e200 (patch)
treefefba1d63a13df6c135a6b1f5e8640b12a9c0ff5 /src/gui/Button.cpp
parentba007c2b69dca6813c86115b2c1834de45c886be (diff)
Start on file chooser, page stack
Diffstat (limited to 'src/gui/Button.cpp')
-rw-r--r--src/gui/Button.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/Button.cpp b/src/gui/Button.cpp
index e36d07b..20a771e 100644
--- a/src/gui/Button.cpp
+++ b/src/gui/Button.cpp
@@ -70,4 +70,8 @@ namespace gsr {
void Button::set_border_scale(float scale) {
border_scale = scale;
}
+
+ const std::string& Button::get_text() const {
+ return text.get_string();
+ }
} \ No newline at end of file