diff options
author | crupest <crupest@outlook.com> | 2018-09-30 20:38:10 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-30 20:38:10 +0800 |
commit | 88765aab936724cb01fa2ffd86d65181182a1cd2 (patch) | |
tree | cf8f400d221756add6c6a61ef001130812f57313 /src/ui/controls/border_control.cpp | |
parent | 20dc75e2ce6a9c38dd1888fdbf793fd8a3bc9cd3 (diff) | |
download | cru-88765aab936724cb01fa2ffd86d65181182a1cd2.tar.gz cru-88765aab936724cb01fa2ffd86d65181182a1cd2.tar.bz2 cru-88765aab936724cb01fa2ffd86d65181182a1cd2.zip |
Create border delegate.
Diffstat (limited to 'src/ui/controls/border_control.cpp')
-rw-r--r-- | src/ui/controls/border_control.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/ui/controls/border_control.cpp b/src/ui/controls/border_control.cpp deleted file mode 100644 index 9f33079c..00000000 --- a/src/ui/controls/border_control.cpp +++ /dev/null @@ -1,34 +0,0 @@ -#include "border_control.h" - -namespace cru::ui::controls -{ - void BorderProperty::SetBrush(Microsoft::WRL::ComPtr<ID2D1Brush> brush) - { - brush_ = std::move(brush); - RaisePropertyChangedEvent(L"Brush"); - } - - void BorderProperty::SetWidth(const float width) - { - width_ = width; - RaisePropertyChangedEvent(L"Width"); - } - - void BorderProperty::SetStrokeStyle(Microsoft::WRL::ComPtr<ID2D1StrokeStyle> stroke_style) - { - stroke_style_ = std::move(stroke_style); - RaisePropertyChangedEvent(L"StrokeStyle"); - } - - void BorderProperty::SetRadiusX(const float radius_x) - { - radius_x_ = radius_x; - RaisePropertyChangedEvent(L"RadiusX"); - } - - void BorderProperty::SetRadiusY(const float radius_y) - { - radius_y_ = radius_y; - RaisePropertyChangedEvent(L"RadiusY"); - } -} |