diff options
author | crupest <crupest@outlook.com> | 2020-03-18 22:37:41 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-18 22:37:41 +0800 |
commit | 477155d6fccc8eafadb6d7f4c468c9141d7d4e92 (patch) | |
tree | 0fe935c8f699a1c42c8750a39b6ca70d31f941a0 /include/cru/ui/controls/button.hpp | |
parent | 068714c0f2fe7ab003462e5483f9944b0bf2f8e0 (diff) | |
download | cru-477155d6fccc8eafadb6d7f4c468c9141d7d4e92.tar.gz cru-477155d6fccc8eafadb6d7f4c468c9141d7d4e92.tar.bz2 cru-477155d6fccc8eafadb6d7f4c468c9141d7d4e92.zip |
...
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; } |