Add ui::style::bold_font
This commit is contained in:
parent
ab6da3b212
commit
9e9fd738b7
2 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ namespace psemek::ui
|
|||
std::optional<geom::vector<int, 2>> text_shadow_offset;
|
||||
|
||||
std::shared_ptr<struct font> font;
|
||||
std::shared_ptr<struct font> bold_font;
|
||||
|
||||
mutable std::unordered_set<element *> use_as_style;
|
||||
mutable std::unordered_set<element *> use_as_own_style;
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ namespace psemek::ui
|
|||
merge(dst.text_scale, src.text_scale);
|
||||
merge(dst.text_shadow_offset, src.text_shadow_offset);
|
||||
merge(dst.font, src.font);
|
||||
merge(dst.bold_font, src.bold_font);
|
||||
}
|
||||
|
||||
style scale(style const & s, float factor)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue