aboutsummaryrefslogtreecommitdiff
path: root/CruUI/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'CruUI/application.h')
-rw-r--r--CruUI/application.h11
1 files changed, 11 insertions, 0 deletions
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<ID2D1Brush> GetDebugBorderBrush() const
+ {
+ return debug_border_brush_;
+ }
+#endif
+
private:
HINSTANCE h_instance_;
@@ -110,6 +117,10 @@ namespace cru
std::unique_ptr<ui::animations::details::AnimationManager> animation_manager_;
std::unique_ptr<GodWindow> god_window_;
+
+#ifdef CRU_DEBUG
+ Microsoft::WRL::ComPtr<ID2D1Brush> debug_border_brush_;
+#endif
};