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 /src/theme_builder/components/StyleRuleSetEditor.h | |
parent | 3d74364e78fadbc0b36081097e4a3a22a8ee26f2 (diff) | |
download | cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.tar.gz cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.tar.bz2 cru-c6d05af374ef11cec4a550eb63c73abdb2cd5f72.zip |
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.h')
-rw-r--r-- | src/theme_builder/components/StyleRuleSetEditor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.h b/src/theme_builder/components/StyleRuleSetEditor.h index 3ffad77f..1f2ae216 100644 --- a/src/theme_builder/components/StyleRuleSetEditor.h +++ b/src/theme_builder/components/StyleRuleSetEditor.h @@ -23,13 +23,15 @@ 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); + + private: std::shared_ptr<ui::style::StyleRuleSet> style_rule_set_; ui::controls::ScrollView scroll_view_; ui::controls::FlexLayout container_; ui::controls::FlexLayout rules_layout_; std::vector<std::unique_ptr<StyleRuleEditor>> style_rule_editors_; - ui::controls::Button add_button_; - ui::controls::TextBlock add_button_text_; + ui::controls::IconButton add_button_; }; } // namespace cru::theme_builder::components |