aboutsummaryrefslogtreecommitdiff
path: root/src/ui/border_property.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-20 17:31:22 +0800
committercrupest <crupest@outlook.com>2019-03-20 17:31:22 +0800
commit62080f78c900aa41e456aa37a1825310121de881 (patch)
tree531bac647b55ac084fc18f3037f988540d251dcb /src/ui/border_property.cpp
parent1e3cad155a234d2e3e9b6aca650d4d1c4c9e8d4e (diff)
downloadcru-62080f78c900aa41e456aa37a1825310121de881.tar.gz
cru-62080f78c900aa41e456aa37a1825310121de881.tar.bz2
cru-62080f78c900aa41e456aa37a1825310121de881.zip
...
Diffstat (limited to 'src/ui/border_property.cpp')
-rw-r--r--src/ui/border_property.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/ui/border_property.cpp b/src/ui/border_property.cpp
deleted file mode 100644
index b79bb482..00000000
--- a/src/ui/border_property.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "border_property.hpp"
-
-#include "ui_manager.hpp"
-
-namespace cru::ui
-{
- BorderProperty::BorderProperty(): BorderProperty(UiManager::GetInstance()->GetPredefineResources()->border_property_brush)
- {
-
- }
-
- BorderProperty::BorderProperty(Microsoft::WRL::ComPtr<ID2D1Brush> brush): brush_(std::move(brush))
- {
-
- }
-
- BorderProperty::BorderProperty(Microsoft::WRL::ComPtr<ID2D1Brush> brush, const float width, const float radius_x,
- const float radius_y, Microsoft::WRL::ComPtr<ID2D1StrokeStyle> stroke_style) :
- brush_(std::move(brush)), stroke_width_(width), radius_x_(radius_x), radius_y_(radius_y), stroke_style_(std::move(stroke_style))
- {
-
- }
-}