diff options
author | crupest <crupest@outlook.com> | 2018-09-19 23:59:15 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-19 23:59:15 +0800 |
commit | 6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed (patch) | |
tree | c49981640d37ab29e6e9bf3f01f1483c3a3d042b /CruUI/ui/control.cpp | |
parent | dea11f34bfab5bfd5f66dec9f2fa0239abf44d89 (diff) | |
download | cru-6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed.tar.gz cru-6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed.tar.bz2 cru-6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed.zip |
Change the macro controlling the debug control border.
Diffstat (limited to 'CruUI/ui/control.cpp')
-rw-r--r-- | CruUI/ui/control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/ui/control.cpp b/CruUI/ui/control.cpp index e2f63d02..4d69100d 100644 --- a/CruUI/ui/control.cpp +++ b/CruUI/ui/control.cpp @@ -321,7 +321,7 @@ namespace cru { void Control::OnDraw(ID2D1DeviceContext * device_context) { -#ifdef CRU_DEBUG +#ifdef CRU_DEBUG_DRAW_CONTROL_BORDER auto brush = Application::GetInstance()->GetDebugBorderBrush(); const auto size = GetSize(); device_context->DrawRectangle(D2D1::RectF(0, 0, size.width, size.height), brush.Get()); |