Make rich_button::set_label and set_icon virtual

This commit is contained in:
Nikita Lisitsa 2021-07-17 17:42:56 +03:00
parent 934512f762
commit 7865297995

View file

@ -14,8 +14,8 @@ namespace psemek::ui
struct image_view * icon() { return icon_.get(); }
struct image_view const * icon() const { return icon_.get(); }
void set_label(std::shared_ptr<struct label> label);
void set_icon(std::shared_ptr<image_view> icon);
virtual void set_label(std::shared_ptr<struct label> label);
virtual void set_icon(std::shared_ptr<image_view> icon);
children_range children() const override;