aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
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/main.cpp
parentbeb6cfa6b3492f5a9d89ba99c03358c22598e7aa (diff)
downloadcru-2261a4bc348a6017a0f31233f969bdf31ae35679.tar.gz
cru-2261a4bc348a6017a0f31233f969bdf31ae35679.tar.bz2
cru-2261a4bc348a6017a0f31233f969bdf31ae35679.zip
Add debug layout visual effects.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 06110457..b99709bf 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -104,7 +104,7 @@ int APIENTRY wWinMain(
const auto toggle_button = ToggleButton::Create();
toggle_button->toggle_event.AddHandler([&window](cru::ui::events::ToggleEventArgs& args)
{
- window.SetDebugDrawControlBorder(args.GetNewState());
+ window.SetDebugLayout(args.GetNewState());
});
inner_layout->AddChild(toggle_button);
@@ -161,7 +161,7 @@ int APIENTRY wWinMain(
window.AddChild(linear_layout);
- //window.SetDebugDrawControlBorder(true);
+ window.SetDebugLayout(true);
window.Show();