aboutsummaryrefslogtreecommitdiff
path: root/src/ui/border_property.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-11-09 22:59:38 +0800
committercrupest <crupest@outlook.com>2018-11-09 22:59:38 +0800
commitac4b0f8d438e7a7c2ecd836af8332b5da1e035c9 (patch)
treee5b886f1884fa56dd90059523b1f4dc730bb5003 /src/ui/border_property.cpp
parent4b219b569c16db6027dd36e4656152f261321c60 (diff)
downloadcru-ac4b0f8d438e7a7c2ecd836af8332b5da1e035c9.tar.gz
cru-ac4b0f8d438e7a7c2ecd836af8332b5da1e035c9.tar.bz2
cru-ac4b0f8d438e7a7c2ecd836af8332b5da1e035c9.zip
Add predefine resource.
Diffstat (limited to 'src/ui/border_property.cpp')
-rw-r--r--src/ui/border_property.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/border_property.cpp b/src/ui/border_property.cpp
index 7f61c1b7..bd06a96a 100644
--- a/src/ui/border_property.cpp
+++ b/src/ui/border_property.cpp
@@ -1,10 +1,10 @@
#include "border_property.hpp"
-#include "graph/graph.hpp"
+#include "predefine.hpp"
namespace cru::ui
{
- BorderProperty::BorderProperty(): BorderProperty(graph::CreateSolidBrush(D2D1::ColorF(D2D1::ColorF::Black)))
+ BorderProperty::BorderProperty(): BorderProperty(predefine::GetPredefineResourceComPtr<ID2D1Brush>(predefine::key_border_property_brush))
{
}