diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-10-17 12:06:14 +0800 |
| commit | 32aa6f116acc6e3e20a1ec76cef45b29f7005ad7 (patch) | |
| tree | 892b71060a88b58d9293d78033000b05818783df /include/cru/ui/components/Select.h | |
| parent | faf77949e19dc0d01f75bf8abb783eda70328048 (diff) | |
| download | cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.gz cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.tar.bz2 cru-32aa6f116acc6e3e20a1ec76cef45b29f7005ad7.zip | |
Remove String stage 1.
Diffstat (limited to 'include/cru/ui/components/Select.h')
| -rw-r--r-- | include/cru/ui/components/Select.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/ui/components/Select.h b/include/cru/ui/components/Select.h index d5ff0b43..9efe9a04 100644 --- a/include/cru/ui/components/Select.h +++ b/include/cru/ui/components/Select.h @@ -13,8 +13,8 @@ class CRU_UI_API Select : public Component { public: ui::controls::Control* GetRootControl() override { return &button_; } - std::vector<String> GetItems() const { return items_; } - void SetItems(std::vector<String> items); + std::vector<std::string> GetItems() const { return items_; } + void SetItems(std::vector<std::string> items); Index GetSelectedIndex() const { return selected_index_; } void SetSelectedIndex(Index index); @@ -23,7 +23,7 @@ class CRU_UI_API Select : public Component { private: Index selected_index_; - std::vector<String> items_; + std::vector<std::string> items_; ui::controls::Button button_; ui::controls::TextBlock button_text_; |
