From b40bae96224fb6fb80e96d2072d0f104f2ef2f59 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 15 Feb 2022 00:06:30 +0800 Subject: ... --- .../components/conditions/CompoundConditonEditor.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/theme_builder/components/conditions/CompoundConditonEditor.cpp (limited to 'src/theme_builder/components/conditions/CompoundConditonEditor.cpp') diff --git a/src/theme_builder/components/conditions/CompoundConditonEditor.cpp b/src/theme_builder/components/conditions/CompoundConditonEditor.cpp new file mode 100644 index 00000000..d3e82878 --- /dev/null +++ b/src/theme_builder/components/conditions/CompoundConditonEditor.cpp @@ -0,0 +1,14 @@ +#include "CompoundConditionEditor.h" + +namespace cru::theme_builder::components::conditions { +CompoundConditionEditor::CompoundConditionEditor() { + GetContainer()->AddChild(&children_container_); + GetContainer()->AddChild(&add_child_button_); + + add_child_button_.SetChild(&add_child_button_text_); + add_child_button_text_.SetText(u"Add"); +} + +CompoundConditionEditor::~CompoundConditionEditor() {} + +} // namespace cru::theme_builder::components::conditions -- cgit v1.2.3