aboutsummaryrefslogtreecommitdiff
path: root/src/ui/window.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-10-06 23:49:17 +0800
committercrupest <crupest@outlook.com>2018-10-06 23:49:17 +0800
commit2261a4bc348a6017a0f31233f969bdf31ae35679 (patch)
treeccdc237b84423c9564458df3fae036f08815dda6 /src/ui/window.h
parentbeb6cfa6b3492f5a9d89ba99c03358c22598e7aa (diff)
downloadcru-2261a4bc348a6017a0f31233f969bdf31ae35679.tar.gz
cru-2261a4bc348a6017a0f31233f969bdf31ae35679.tar.bz2
cru-2261a4bc348a6017a0f31233f969bdf31ae35679.zip
Add debug layout visual effects.
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index b4433e85..e4e89776 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -184,13 +184,13 @@ namespace cru {
Control* ReleaseCurrentMouseCapture();
//*************** region: debug ***************
-#ifdef CRU_DEBUG_DRAW_CONTROL_BORDER
- bool GetDebugDrawControlBorder() const
+#ifdef CRU_DEBUG_LAYOUT
+ bool IsDebugLayout() const
{
- return debug_draw_control_border_;
+ return debug_layout_;
}
- void SetDebugDrawControlBorder(bool value);
+ void SetDebugLayout(bool value);
#endif
public:
@@ -276,8 +276,8 @@ namespace cru {
Control* mouse_capture_control_ = nullptr;
-#ifdef CRU_DEBUG_DRAW_CONTROL_BORDER
- bool debug_draw_control_border_ = false;
+#ifdef CRU_DEBUG_LAYOUT
+ bool debug_layout_ = false;
#endif
};
}