diff options
| author | crupest <crupest@outlook.com> | 2022-03-11 22:38:41 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-03-11 22:38:41 +0800 |
| commit | c6d05af374ef11cec4a550eb63c73abdb2cd5f72 (patch) | |
| tree | b6161cbd8de2498f2d3870d490eec014990101cf /include/cru/ui/style/Styler.h | |
| parent | 3d74364e78fadbc0b36081097e4a3a22a8ee26f2 (diff) | |
| download | cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.tar.gz cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.tar.bz2 cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.zip | |
...
Diffstat (limited to 'include/cru/ui/style/Styler.h')
| -rw-r--r-- | include/cru/ui/style/Styler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/ui/style/Styler.h b/include/cru/ui/style/Styler.h index f4f66ea0..7df3e138 100644 --- a/include/cru/ui/style/Styler.h +++ b/include/cru/ui/style/Styler.h @@ -10,6 +10,11 @@ #include <vector> namespace cru::ui::style { +/** + * \brief The base class for all styler implementations. + * \remarks Styler should be immutable. And we use cru::ClonablePtr to wrap it + * in order to get both polymorphic and value semantics. + */ class CRU_UI_API Styler : public Object { public: virtual void Apply(controls::Control* control) const = 0; |
