aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-02-08 21:56:12 +0800
committercrupest <crupest@outlook.com>2022-02-08 21:56:12 +0800
commit672dd2362a261b8da47c1a7274f0cfc213f6cdfe (patch)
tree1b958c92d31324204c283ca7580bfe01b38dc11d
parentdf15abf2d0e78fb79ad8232613f001639393d7e7 (diff)
downloadcru-672dd2362a261b8da47c1a7274f0cfc213f6cdfe.tar.gz
cru-672dd2362a261b8da47c1a7274f0cfc213f6cdfe.tar.bz2
cru-672dd2362a261b8da47c1a7274f0cfc213f6cdfe.zip
...
-rw-r--r--src/theme_builder/CMakeLists.txt1
-rw-r--r--src/theme_builder/components/ConditionEditor.cpp1
-rw-r--r--src/theme_builder/components/ConditionEditor.h16
3 files changed, 18 insertions, 0 deletions
diff --git a/src/theme_builder/CMakeLists.txt b/src/theme_builder/CMakeLists.txt
index 194e857b..64e52b07 100644
--- a/src/theme_builder/CMakeLists.txt
+++ b/src/theme_builder/CMakeLists.txt
@@ -1,5 +1,6 @@
add_executable(cru_theme_builder
main.cpp
+ components/ConditionEditor.cpp
components/MainWindow.cpp
components/StyleRuleEditor.cpp
components/StyleRuleSetEditor.cpp
diff --git a/src/theme_builder/components/ConditionEditor.cpp b/src/theme_builder/components/ConditionEditor.cpp
new file mode 100644
index 00000000..d50a1d6b
--- /dev/null
+++ b/src/theme_builder/components/ConditionEditor.cpp
@@ -0,0 +1 @@
+#include "ConditionEditor.h"
diff --git a/src/theme_builder/components/ConditionEditor.h b/src/theme_builder/components/ConditionEditor.h
new file mode 100644
index 00000000..f32da304
--- /dev/null
+++ b/src/theme_builder/components/ConditionEditor.h
@@ -0,0 +1,16 @@
+#pragma once
+#include "cru/ui/components/Component.h"
+
+namespace cru::theme_builder {
+class ConditionEditor : public ui::components::Component {
+ public:
+ ConditionEditor();
+
+ ~ConditionEditor() override;
+
+ public:
+ ui::controls::Control* GetRootControl() override { return nullptr; }
+
+ private:
+};
+} // namespace cru::theme_builder