aboutsummaryrefslogtreecommitdiff
path: root/include/gui/RadioButton.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-05-04 22:39:37 +0200
committerdec05eba <dec05eba@protonmail.com>2025-05-04 22:39:37 +0200
commit305c9df7acc140d1d4b723948b9f59e8282eea87 (patch)
tree3b57db37b0a8178b95f7db9694fc676d0f9c3287 /include/gui/RadioButton.hpp
parentd08ea692771caa8e385412c2f992089672773e30 (diff)
Add option to save temporary replay data on disk1.6.0
Diffstat (limited to 'include/gui/RadioButton.hpp')
-rw-r--r--include/gui/RadioButton.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/gui/RadioButton.hpp b/include/gui/RadioButton.hpp
index 16d638e..e319aa0 100644
--- a/include/gui/RadioButton.hpp
+++ b/include/gui/RadioButton.hpp
@@ -23,7 +23,8 @@ namespace gsr {
void add_item(const std::string &text, const std::string &id);
void set_selected_item(const std::string &id, bool trigger_event = true, bool trigger_event_even_if_selection_not_changed = true);
- const std::string get_selected_id() const;
+ const std::string& get_selected_id() const;
+ const std::string& get_selected_text() const;
mgl::vec2f get_size() override;