From 21c1c3281cd4186d9810d68122e9e8e92da714ad Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 14 Feb 2022 22:51:37 +0800 Subject: ... --- .../components/styler/BorderStylerEditor.h | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/theme_builder/components/styler/BorderStylerEditor.h (limited to 'src/theme_builder/components/styler/BorderStylerEditor.h') diff --git a/src/theme_builder/components/styler/BorderStylerEditor.h b/src/theme_builder/components/styler/BorderStylerEditor.h deleted file mode 100644 index 991647e7..00000000 --- a/src/theme_builder/components/styler/BorderStylerEditor.h +++ /dev/null @@ -1,41 +0,0 @@ -#pragma once -#include "../properties/ColorPropertyEditor.h" -#include "../properties/CornerRadiusPropertyEditor.h" -#include "../properties/OptionalPropertyEditor.h" -#include "../properties/ThicknessPropertyEditor.h" -#include "cru/common/ClonablePtr.h" -#include "cru/common/Event.h" -#include "cru/ui/components/Component.h" -#include "cru/ui/controls/CheckBox.h" -#include "cru/ui/controls/FlexLayout.h" -#include "cru/ui/style/Styler.h" - -namespace cru::theme_builder::components::styler { -class BorderStylerEditor : public ui::components::Component { - public: - BorderStylerEditor(); - ~BorderStylerEditor() override; - - ui::controls::Control* GetRootControl() override { return nullptr; } - - ClonablePtr GetValue(); - void SetValue(const ClonablePtr& styler); - - IEvent* ChangeEvent() { return &change_event_; } - - private: - ui::controls::FlexLayout container_; - properties::OptionalPropertyEditor - corner_radius_editor_; - properties::OptionalPropertyEditor - thickness_editor_; - properties::OptionalPropertyEditor - brush_editor_; - properties::OptionalPropertyEditor - foreground_brush_editor_; - properties::OptionalPropertyEditor - background_brush_editor_; - - Event change_event_; -}; -} // namespace cru::theme_builder::components::styler -- cgit v1.2.3