Make rich_button::set_label and set_icon virtual
This commit is contained in:
parent
934512f762
commit
7865297995
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ namespace psemek::ui
|
||||||
struct image_view * icon() { return icon_.get(); }
|
struct image_view * icon() { return icon_.get(); }
|
||||||
struct image_view const * icon() const { return icon_.get(); }
|
struct image_view const * icon() const { return icon_.get(); }
|
||||||
|
|
||||||
void set_label(std::shared_ptr<struct label> label);
|
virtual void set_label(std::shared_ptr<struct label> label);
|
||||||
void set_icon(std::shared_ptr<image_view> icon);
|
virtual void set_icon(std::shared_ptr<image_view> icon);
|
||||||
|
|
||||||
children_range children() const override;
|
children_range children() const override;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue