aboutsummaryrefslogtreecommitdiff
path: root/CruUI/application.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-19 23:59:15 +0800
committercrupest <crupest@outlook.com>2018-09-19 23:59:15 +0800
commit6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed (patch)
treec49981640d37ab29e6e9bf3f01f1483c3a3d042b /CruUI/application.h
parentdea11f34bfab5bfd5f66dec9f2fa0239abf44d89 (diff)
downloadcru-6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed.tar.gz
cru-6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed.tar.bz2
cru-6cd7b4e168fdda6bf83187cda9269cad5f9ee0ed.zip
Change the macro controlling the debug control border.
Diffstat (limited to 'CruUI/application.h')
-rw-r--r--CruUI/application.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/CruUI/application.h b/CruUI/application.h
index 1c98b906..1ce6f035 100644
--- a/CruUI/application.h
+++ b/CruUI/application.h
@@ -101,7 +101,7 @@ namespace cru
return god_window_.get();
}
-#ifdef CRU_DEBUG
+#ifdef CRU_DEBUG_DRAW_CONTROL_BORDER
Microsoft::WRL::ComPtr<ID2D1Brush> GetDebugBorderBrush() const
{
return debug_border_brush_;
@@ -118,7 +118,7 @@ namespace cru
std::unique_ptr<GodWindow> god_window_;
-#ifdef CRU_DEBUG
+#ifdef CRU_DEBUG_DRAW_CONTROL_BORDER
Microsoft::WRL::ComPtr<ID2D1Brush> debug_border_brush_;
#endif
};