aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/StyleRuleSetEditor.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-08 21:13:01 +0800
committercrupest <crupest@outlook.com>2022-02-08 21:13:01 +0800
commitfa1764d7cb77aa683c6049f915a46b981f9161f7 (patch)
treee5b54620d3b84f5391e995ab483647214152ca99 /src/theme_builder/components/StyleRuleSetEditor.cpp
parent74bb9cd27242b9320f99ff4d2b50c3051576cc14 (diff)
downloadcru-fa1764d7cb77aa683c6049f915a46b981f9161f7.tar.gz
cru-fa1764d7cb77aa683c6049f915a46b981f9161f7.tar.bz2
cru-fa1764d7cb77aa683c6049f915a46b981f9161f7.zip
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.cpp')
-rw-r--r--src/theme_builder/components/StyleRuleSetEditor.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.cpp b/src/theme_builder/components/StyleRuleSetEditor.cpp
index 933706a3..cfb2ad56 100644
--- a/src/theme_builder/components/StyleRuleSetEditor.cpp
+++ b/src/theme_builder/components/StyleRuleSetEditor.cpp
@@ -4,4 +4,14 @@ namespace cru::theme_builder {
StyleRuleSetEditor::StyleRuleSetEditor() {}
StyleRuleSetEditor::~StyleRuleSetEditor() {}
+
+void StyleRuleSetEditor::BindStyleRuleSet(
+ std::shared_ptr<ui::style::StyleRuleSet> rule_set) {
+ style_rule_set_ = std::move(rule_set);
+ UpdateView();
+}
+
+void StyleRuleSetEditor::UpdateView() {
+
+}
} // namespace cru::theme_builder