diff options
author | Yuqian Yang <crupest@outlook.com> | 2018-10-06 15:51:36 +0000 |
---|---|---|
committer | Yuqian Yang <crupest@outlook.com> | 2018-10-06 15:51:36 +0000 |
commit | b0057dc911f96258c7280b89c8f4da828ecc283c (patch) | |
tree | ccdc237b84423c9564458df3fae036f08815dda6 /src/main.cpp | |
parent | 7e870dd16e2f5b41fa6c6f687723aaa50c16274d (diff) | |
parent | 2261a4bc348a6017a0f31233f969bdf31ae35679 (diff) | |
download | cru-b0057dc911f96258c7280b89c8f4da828ecc283c.tar.gz cru-b0057dc911f96258c7280b89c8f4da828ecc283c.tar.bz2 cru-b0057dc911f96258c7280b89c8f4da828ecc283c.zip |
Merge branch '13-debug-layout' into 'master'
Resolve "Add debug layout visual effect."
Closes #13
See merge request crupest/CruUI!13
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
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(); |