aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/StyleRuleSetEditor.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-29 23:18:18 +0800
committercrupest <crupest@outlook.com>2022-01-29 23:18:18 +0800
commita6dd823a94f0e6338545a4885e9d428e83a56593 (patch)
treef3f0359971e5419201e4883d2de0588bcd310063 /src/theme_builder/components/StyleRuleSetEditor.hpp
parent43fe5dfe001f25870788742333d141f406b07364 (diff)
downloadcru-a6dd823a94f0e6338545a4885e9d428e83a56593.tar.gz
cru-a6dd823a94f0e6338545a4885e9d428e83a56593.tar.bz2
cru-a6dd823a94f0e6338545a4885e9d428e83a56593.zip
...
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.hpp')
-rw-r--r--src/theme_builder/components/StyleRuleSetEditor.hpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/theme_builder/components/StyleRuleSetEditor.hpp b/src/theme_builder/components/StyleRuleSetEditor.hpp
new file mode 100644
index 00000000..8bf55229
--- /dev/null
+++ b/src/theme_builder/components/StyleRuleSetEditor.hpp
@@ -0,0 +1,22 @@
+#pragma once
+#include "cru/ui/components/Component.hpp"
+#include "cru/ui/controls/Control.hpp"
+#include "cru/ui/controls/FlexLayout.hpp"
+
+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