diff options
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.h')
-rw-r--r-- | src/theme_builder/components/StyleRuleSetEditor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.h b/src/theme_builder/components/StyleRuleSetEditor.h index ecb3ee95..50f1c80d 100644 --- a/src/theme_builder/components/StyleRuleSetEditor.h +++ b/src/theme_builder/components/StyleRuleSetEditor.h @@ -2,6 +2,7 @@ #include "cru/ui/components/Component.h" #include "cru/ui/controls/Control.h" #include "cru/ui/controls/FlexLayout.h" +#include "cru/ui/style/StyleRuleSet.h" namespace cru::theme_builder { class StyleRuleSetEditor : public ui::components::Component { @@ -16,7 +17,14 @@ class StyleRuleSetEditor : public ui::components::Component { public: ui::controls::Control* GetRootControl() override { return main_layout_; } + void BindStyleRuleSet(std::shared_ptr<ui::style::StyleRuleSet> rule_set); + + private: + void UpdateView(); + private: ui::controls::FlexLayout* main_layout_; + + std::shared_ptr<ui::style::StyleRuleSet> style_rule_set_; }; } // namespace cru::theme_builder |