Add virtual event methods to UI_item and override them in derived class
This commit is contained in:
2024-08-20 00:49:49 +02:00
parent 7cf109904e
commit afcbc0f231
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class UI_combobox : public UI_x_boxes
UI_combobox(const json& j);
void set_selected(size_t selected);
void set_selected(std::string selected);
void set_selected(std::string selected) override;
size_t selected() const;
std::string selected_text() const;