From dea11f34bfab5bfd5f66dec9f2fa0239abf44d89 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 19 Sep 2018 23:43:26 +0800 Subject: Improve linear layout. Add debug border visualization. --- CruUI/application.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CruUI/application.h') diff --git a/CruUI/application.h b/CruUI/application.h index fe7422d3..1c98b906 100644 --- a/CruUI/application.h +++ b/CruUI/application.h @@ -101,6 +101,13 @@ namespace cru return god_window_.get(); } +#ifdef CRU_DEBUG + Microsoft::WRL::ComPtr GetDebugBorderBrush() const + { + return debug_border_brush_; + } +#endif + private: HINSTANCE h_instance_; @@ -110,6 +117,10 @@ namespace cru std::unique_ptr animation_manager_; std::unique_ptr god_window_; + +#ifdef CRU_DEBUG + Microsoft::WRL::ComPtr debug_border_brush_; +#endif }; -- cgit v1.2.3