| 294 | FALCOR_OBJECT(Combobox) |
| 295 | public: |
| 296 | Combobox( |
| 297 | Widget* parent, |
| 298 | std::string_view label = "", |
| 299 | ChangeCallback change_callback = {}, |
| 300 | std::vector<std::string> items = {}, |
| 301 | int value = 0 |
| 302 | ) |
| 303 | : Property(parent, label, change_callback), m_items(items), m_value(value) |
| 304 | {} |
| 305 | |
| 306 | const std::vector<std::string>& get_items() const { return m_items; } |
| 307 | void set_items(const std::vector<std::string>& items) { m_items = items; } |