28 static std::shared_ptr<UIList>
Create(std::weak_ptr<Window> parent_window);
29 void AddItem(std::string
id, std::string text);
36 UIList(std::weak_ptr<Window> parent_window);
37 std::map<std::string, std::shared_ptr<UIButton>> ids_to_buttons;
38 std::shared_ptr<UIButton> highlighted =
nullptr;
void SetHighlight(std::string id)
void SetColors(Color standard, Color highlight)
void AddItem(std::string id, std::string text)
Signal< std::string > on_clicked
Definition: UIList.hpp:34
Definition: Alertable.hpp:26
static std::shared_ptr< UIList > Create(std::weak_ptr< Window > parent_window)
Signal< std::string > on_pointed
Definition: UIList.hpp:33
Definition: UIList.hpp:26
static const Color & Get(const std::string &)