aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/StyleRuleSetEditor.cpp
blob: 072b8307f2b52333e290e57f63003e8b04394226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "StyleRuleSetEditor.h"
#include "cru/ui/controls/FlexLayout.h"

namespace cru::theme_builder {
using namespace cru::ui::controls;
StyleRuleSetEditor::StyleRuleSetEditor() {}

StyleRuleSetEditor::~StyleRuleSetEditor() { main_layout_.RemoveFromParent(); }

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