|
|
constexpr | style_attributes (style_attributes const &) noexcept=default |
|
constexpr | style_attributes (style_attributes &&) noexcept=default |
|
constexpr style_attributes & | operator= (style_attributes const &) noexcept=default |
|
constexpr style_attributes & | operator= (style_attributes &&) noexcept=default |
|
style_modify_mask | set_margin (unit::length_f margin, bool important=false) noexcept |
|
style_modify_mask | set_padding (unit::length_f padding, bool important=false) noexcept |
|
style_modify_mask | set_border_radius (unit::length_f border_radius, bool important=false) noexcept |
|
void | clear () noexcept |
| style_modify_mask | apply (style_attributes const &other) noexcept |
| | Apply attributes of other ontop of the current.
|
|
| style_modify_mask | compare (style_attributes const &lhs, style_attributes const &rhs) noexcept |
| | Set all attributes in other as-if they are important.
|
◆ apply()
Apply attributes of other ontop of the current.
- Parameters
-
| other | The attributes used to overwrite the current attributes. |
- Returns
- A mask for what kind of values where changed.
◆ compare
| style_modify_mask compare |
( |
style_attributes const & | lhs, |
|
|
style_attributes const & | rhs ) |
|
friend |
Set all attributes in other as-if they are important.
- Parameters
-
| other | The attributes used to overwrite the current attributes. |
- Returns
- A mask for what kind of values where changed.
The documentation for this class was generated from the following file: