diff options
author | crupest <crupest@outlook.com> | 2022-02-10 23:37:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-10 23:37:38 +0800 |
commit | 382d42802221941e24e672743d03e7adcb544f94 (patch) | |
tree | cce2a16646c289f66270e61a0b0533764049ceaf /src | |
parent | f65d0502a9f0fc44be0dd79a5f3f31697bb3aad0 (diff) | |
download | cru-382d42802221941e24e672743d03e7adcb544f94.tar.gz cru-382d42802221941e24e672743d03e7adcb544f94.tar.bz2 cru-382d42802221941e24e672743d03e7adcb544f94.zip |
...
Diffstat (limited to 'src')
-rw-r--r-- | src/theme_builder/components/ConditionEditor.h | 4 | ||||
-rw-r--r-- | src/theme_builder/components/conditions/CompoundConditionEditor.hpp | 1 | ||||
-rw-r--r-- | src/ui/helper/ClickDetector.cpp | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/theme_builder/components/ConditionEditor.h b/src/theme_builder/components/ConditionEditor.h index f32da304..ddca5e28 100644 --- a/src/theme_builder/components/ConditionEditor.h +++ b/src/theme_builder/components/ConditionEditor.h @@ -1,5 +1,7 @@ #pragma once #include "cru/ui/components/Component.h" +#include "cru/ui/controls/FlexLayout.h" +#include "cru/ui/controls/TextBlock.h" namespace cru::theme_builder { class ConditionEditor : public ui::components::Component { @@ -12,5 +14,7 @@ class ConditionEditor : public ui::components::Component { ui::controls::Control* GetRootControl() override { return nullptr; } private: + ui::controls::FlexLayout container_; + ui::controls::TextBlock label_; }; } // namespace cru::theme_builder diff --git a/src/theme_builder/components/conditions/CompoundConditionEditor.hpp b/src/theme_builder/components/conditions/CompoundConditionEditor.hpp new file mode 100644 index 00000000..6f70f09b --- /dev/null +++ b/src/theme_builder/components/conditions/CompoundConditionEditor.hpp @@ -0,0 +1 @@ +#pragma once diff --git a/src/ui/helper/ClickDetector.cpp b/src/ui/helper/ClickDetector.cpp index 6d4f38c1..981e9e04 100644 --- a/src/ui/helper/ClickDetector.cpp +++ b/src/ui/helper/ClickDetector.cpp @@ -2,6 +2,7 @@ #include "cru/common/Logger.h" #include "cru/ui/DebugFlags.h" +#include "cru/ui/controls/Control.h" #include <optional> |