diff options
| author | crupest <crupest@outlook.com> | 2022-02-10 23:40:40 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-02-10 23:40:40 +0800 |
| commit | 85746e9f053432bdcfb99b21997efa040eac1bc3 (patch) | |
| tree | 43027747ca42247207683a2797ae68b961a538fb /src/theme_builder/components/conditions | |
| parent | 382d42802221941e24e672743d03e7adcb544f94 (diff) | |
| download | cru-85746e9f053432bdcfb99b21997efa040eac1bc3.tar.gz cru-85746e9f053432bdcfb99b21997efa040eac1bc3.tar.bz2 cru-85746e9f053432bdcfb99b21997efa040eac1bc3.zip | |
...
Diffstat (limited to 'src/theme_builder/components/conditions')
3 files changed, 27 insertions, 0 deletions
diff --git a/src/theme_builder/components/conditions/CompoundConditionEditor.hpp b/src/theme_builder/components/conditions/CompoundConditionEditor.hpp index 6f70f09b..00f73e09 100644 --- a/src/theme_builder/components/conditions/CompoundConditionEditor.hpp +++ b/src/theme_builder/components/conditions/CompoundConditionEditor.hpp @@ -1 +1,7 @@ #pragma once +#include "ConditionEditor.h" + +namespace cru::theme_builder::components::conditions { +class CompoundConditionEditor : public ConditionEditor {}; + +} // namespace cru::theme_builder::components::conditions diff --git a/src/theme_builder/components/conditions/ConditionEditor.cpp b/src/theme_builder/components/conditions/ConditionEditor.cpp new file mode 100644 index 00000000..d50a1d6b --- /dev/null +++ b/src/theme_builder/components/conditions/ConditionEditor.cpp @@ -0,0 +1 @@ +#include "ConditionEditor.h" diff --git a/src/theme_builder/components/conditions/ConditionEditor.h b/src/theme_builder/components/conditions/ConditionEditor.h new file mode 100644 index 00000000..ddca5e28 --- /dev/null +++ b/src/theme_builder/components/conditions/ConditionEditor.h @@ -0,0 +1,20 @@ +#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 { + public: + ConditionEditor(); + + ~ConditionEditor() override; + + public: + ui::controls::Control* GetRootControl() override { return nullptr; } + + private: + ui::controls::FlexLayout container_; + ui::controls::TextBlock label_; +}; +} // namespace cru::theme_builder |
