aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/StyleRuleEditor.cpp
blob: 1cbeaeb22924c5d77eff250595b91124fd3ae9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "StyleRuleEditor.h"

namespace cru::theme_builder {
StyleRuleEditor::StyleRuleEditor() {
  main_layout_ = ui::controls::FlexLayout::Create();
}

StyleRuleEditor::~StyleRuleEditor() {
  main_layout_->RemoveFromParent();
  delete main_layout_;
}

void StyleRuleEditor::BindStyleRule(ui::style::StyleRule *rule) {
  style_rule_ = rule;
  UpdateView();
}

void StyleRuleEditor::UpdateView() {}

}  // namespace cru::theme_builder