aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/StyleRuleSetEditor.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-03-28 19:38:58 +0800
committercrupest <crupest@outlook.com>2022-03-28 19:38:58 +0800
commitbfa89c0efd310c07e4255b45f99a2f05338fbe3f (patch)
treec2f22c63b1c80fe2c8f299034aeb709c5a63276f /src/theme_builder/components/StyleRuleSetEditor.h
parent7320f082c4bce5939cfa7c9a23765249dac55d07 (diff)
downloadcru-bfa89c0efd310c07e4255b45f99a2f05338fbe3f.tar.gz
cru-bfa89c0efd310c07e4255b45f99a2f05338fbe3f.tar.bz2
cru-bfa89c0efd310c07e4255b45f99a2f05338fbe3f.zip
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.h')
-rw-r--r--src/theme_builder/components/StyleRuleSetEditor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.h b/src/theme_builder/components/StyleRuleSetEditor.h
index 864262eb..c5fe67fd 100644
--- a/src/theme_builder/components/StyleRuleSetEditor.h
+++ b/src/theme_builder/components/StyleRuleSetEditor.h
@@ -24,6 +24,8 @@ class StyleRuleSetEditor : public ui::components::Component {
void BindStyleRuleSet(std::shared_ptr<ui::style::StyleRuleSet> rule_set);
private:
+ Index IndexOfRuleEditor(StyleRuleEditor* editor);
+
void UpdateView(ui::style::StyleRuleSet* style_rule_set,
std::optional<ui::model::ListChange> change = std::nullopt);