aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/conditions/CompoundConditonEditor.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-15 00:06:30 +0800
committercrupest <crupest@outlook.com>2022-02-15 00:06:30 +0800
commitb40bae96224fb6fb80e96d2072d0f104f2ef2f59 (patch)
tree67abc2fe6f90cb1027fce1562546c544bf0d6713 /src/theme_builder/components/conditions/CompoundConditonEditor.cpp
parentab80b32dc6acd7fdfd1da3b63d69535264af0ef3 (diff)
downloadcru-b40bae96224fb6fb80e96d2072d0f104f2ef2f59.tar.gz
cru-b40bae96224fb6fb80e96d2072d0f104f2ef2f59.tar.bz2
cru-b40bae96224fb6fb80e96d2072d0f104f2ef2f59.zip
...
Diffstat (limited to 'src/theme_builder/components/conditions/CompoundConditonEditor.cpp')
-rw-r--r--src/theme_builder/components/conditions/CompoundConditonEditor.cpp14
1 files changed, 14 insertions, 0 deletions
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