aboutsummaryrefslogtreecommitdiff
path: root/src/theme_builder/components/StyleRuleSetEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theme_builder/components/StyleRuleSetEditor.h')
-rw-r--r--src/theme_builder/components/StyleRuleSetEditor.h22
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