diff options
author | crupest <crupest@outlook.com> | 2022-02-08 16:53:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-08 16:53:51 +0800 |
commit | 74bb9cd27242b9320f99ff4d2b50c3051576cc14 (patch) | |
tree | 744bac5799c593d1d6f81e7b09581bea626f2cde /src/theme_builder/components/StyleRuleSetEditor.h | |
parent | b90c398de829d1ba5329651d75bae82f5e4085fe (diff) | |
download | cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.gz cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.bz2 cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.zip |
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.h')
-rw-r--r-- | src/theme_builder/components/StyleRuleSetEditor.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.h b/src/theme_builder/components/StyleRuleSetEditor.h new file mode 100644 index 00000000..ecb3ee95 --- /dev/null +++ b/src/theme_builder/components/StyleRuleSetEditor.h @@ -0,0 +1,22 @@ +#pragma once +#include "cru/ui/components/Component.h" +#include "cru/ui/controls/Control.h" +#include "cru/ui/controls/FlexLayout.h" + +namespace cru::theme_builder { +class StyleRuleSetEditor : public ui::components::Component { + public: + StyleRuleSetEditor(); + + CRU_DELETE_COPY(StyleRuleSetEditor) + CRU_DELETE_MOVE(StyleRuleSetEditor) + + ~StyleRuleSetEditor() override; + + public: + ui::controls::Control* GetRootControl() override { return main_layout_; } + + private: + ui::controls::FlexLayout* main_layout_; +}; +} // namespace cru::theme_builder |