diff options
Diffstat (limited to 'include/cru/ui/controls/button.hpp')
-rw-r--r-- | include/cru/ui/controls/button.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/cru/ui/controls/button.hpp b/include/cru/ui/controls/button.hpp index b24a9934..a95b75ce 100644 --- a/include/cru/ui/controls/button.hpp +++ b/include/cru/ui/controls/button.hpp @@ -2,14 +2,8 @@ #include "../content_control.hpp" #include "../click_detector.hpp" -#include "../render/border_render_object.hpp" -#include "cru/platform/native/basic_types.hpp" - -#include <memory> namespace cru::ui::controls { -using render::CornerRadius; - struct ButtonStateStyle { std::shared_ptr<platform::graph::IBrush> border_brush; Thickness border_thickness; @@ -43,7 +37,7 @@ class Button : public ContentControl { Button(Button&& other) = delete; Button& operator=(const Button& other) = delete; Button& operator=(Button&& other) = delete; - ~Button() override = default; + ~Button() override; std::string_view GetControlType() const final { return control_type; } |