diff options
author | crupest <crupest@outlook.com> | 2018-09-19 23:43:26 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-19 23:43:26 +0800 |
commit | dea11f34bfab5bfd5f66dec9f2fa0239abf44d89 (patch) | |
tree | 89ba9f88b86c22b25506e43277c3a2fc51a9c2c9 /CruUI/application.cpp | |
parent | 9caec47adf266946fdce290aaf5ec0c865197650 (diff) | |
download | cru-dea11f34bfab5bfd5f66dec9f2fa0239abf44d89.tar.gz cru-dea11f34bfab5bfd5f66dec9f2fa0239abf44d89.tar.bz2 cru-dea11f34bfab5bfd5f66dec9f2fa0239abf44d89.zip |
Improve linear layout. Add debug border visualization.
Diffstat (limited to 'CruUI/application.cpp')
-rw-r--r-- | CruUI/application.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CruUI/application.cpp b/CruUI/application.cpp index 78b44d7e..120fffa6 100644 --- a/CruUI/application.cpp +++ b/CruUI/application.cpp @@ -100,6 +100,10 @@ namespace cru { animation_manager_ = std::make_unique<ui::animations::details::AnimationManager>(); god_window_ = std::make_unique<GodWindow>(this); + +#ifdef CRU_DEBUG + debug_border_brush_ = graph::CreateSolidBrush(D2D1::ColorF(D2D1::ColorF::Crimson)); +#endif } Application::~Application() |