aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/style/StyleRuleSet.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-11 22:38:41 +0800
committercrupest <crupest@outlook.com>2022-03-11 22:38:41 +0800
commitc6d05af374ef11cec4a550eb63c73abdb2cd5f72 (patch)
treeb6161cbd8de2498f2d3870d490eec014990101cf /include/cru/ui/style/StyleRuleSet.h
parent3d74364e78fadbc0b36081097e4a3a22a8ee26f2 (diff)
downloadcru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.tar.gz
cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.tar.bz2
cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.zip
...
Diffstat (limited to 'include/cru/ui/style/StyleRuleSet.h')
-rw-r--r--include/cru/ui/style/StyleRuleSet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/cru/ui/style/StyleRuleSet.h b/include/cru/ui/style/StyleRuleSet.h
index 348fdd5f..8bf9c9ff 100644
--- a/include/cru/ui/style/StyleRuleSet.h
+++ b/include/cru/ui/style/StyleRuleSet.h
@@ -6,6 +6,12 @@
#include <cstddef>
namespace cru::ui::style {
+/**
+ * \brief A set of style rules.
+ * \remarks Note this class is different from other constructs in style. It is
+ * mutable and has reference semantics. Change of it will be notified by
+ * StyleRuleSet::ChangeEvent.
+ */
class CRU_UI_API StyleRuleSet : public Object {
public:
StyleRuleSet() = default;