aboutsummaryrefslogtreecommitdiff
path: root/include/gui/ComboBox.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-10 00:45:36 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-10 00:45:36 +0200
commit4ea5ada9050d22fcb7eed67a72358bce11c9b3df (patch)
treead5f1e5956d972ad7c6948d4ba2f753d47a4b315 /include/gui/ComboBox.hpp
parent1a49f86e9841035fe670f6b42a3c988f737267d2 (diff)
Settings page save settings, refactor
Diffstat (limited to 'include/gui/ComboBox.hpp')
-rw-r--r--include/gui/ComboBox.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/ComboBox.hpp b/include/gui/ComboBox.hpp
index ac9d02b..e501132 100644
--- a/include/gui/ComboBox.hpp
+++ b/include/gui/ComboBox.hpp
@@ -20,6 +20,7 @@ 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);
+ const std::string& get_selected_id() const;
mgl::vec2f get_size() override;