diff options
author | crupest <crupest@outlook.com> | 2022-03-13 18:51:19 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-03-13 18:51:19 +0800 |
commit | 7320f082c4bce5939cfa7c9a23765249dac55d07 (patch) | |
tree | f51d8684d04c1d78e45f391be7965b618186231f /src/theme_builder/components/StyleRuleSetEditor.h | |
parent | 1d14ce416bb4e5651b956790b621308acf73b64c (diff) | |
download | cru-7320f082c4bce5939cfa7c9a23765249dac55d07.tar.gz cru-7320f082c4bce5939cfa7c9a23765249dac55d07.tar.bz2 cru-7320f082c4bce5939cfa7c9a23765249dac55d07.zip |
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.h')
-rw-r--r-- | src/theme_builder/components/StyleRuleSetEditor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.h b/src/theme_builder/components/StyleRuleSetEditor.h index 1f2ae216..864262eb 100644 --- a/src/theme_builder/components/StyleRuleSetEditor.h +++ b/src/theme_builder/components/StyleRuleSetEditor.h @@ -5,6 +5,7 @@ #include "cru/ui/controls/Control.h" #include "cru/ui/controls/FlexLayout.h" #include "cru/ui/controls/ScrollView.h" +#include "cru/ui/model/IListChangeNotify.h" #include "cru/ui/style/StyleRuleSet.h" namespace cru::theme_builder::components { @@ -23,7 +24,8 @@ class StyleRuleSetEditor : public ui::components::Component { void BindStyleRuleSet(std::shared_ptr<ui::style::StyleRuleSet> rule_set); private: - void UpdateView(ui::style::StyleRuleSet* style_rule_set); + void UpdateView(ui::style::StyleRuleSet* style_rule_set, + std::optional<ui::model::ListChange> change = std::nullopt); private: std::shared_ptr<ui::style::StyleRuleSet> style_rule_set_; |