aboutsummaryrefslogtreecommitdiff
path: root/CruUI/main.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-24 00:22:04 +0800
committercrupest <crupest@outlook.com>2018-09-24 00:22:04 +0800
commit9049f7674e0808cc3676543e0a95330a1657d10e (patch)
tree1bfbdcc2a25316d6e85cc9b4527a1ec15841b502 /CruUI/main.cpp
parent977c766e2337fea238804b8d8b97659361391ed0 (diff)
downloadcru-9049f7674e0808cc3676543e0a95330a1657d10e.tar.gz
cru-9049f7674e0808cc3676543e0a95330a1657d10e.tar.bz2
cru-9049f7674e0808cc3676543e0a95330a1657d10e.zip
Add left and right support.
Diffstat (limited to 'CruUI/main.cpp')
-rw-r--r--CruUI/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/CruUI/main.cpp b/CruUI/main.cpp
index 3d801964..67b35406 100644
--- a/CruUI/main.cpp
+++ b/CruUI/main.cpp
@@ -31,7 +31,7 @@ int APIENTRY wWinMain(
Application application(hInstance);
Window window;
-
+ /*
window.native_message_event.AddHandler([](cru::ui::events::WindowNativeMessageEventArgs& args)
{
if (args.GetWindowMessage().msg == WM_PAINT)
@@ -40,7 +40,7 @@ int APIENTRY wWinMain(
//args.SetResult(0);
}
});
-
+ */
/*
// test1
cru::ui::controls::TextBlock text_block;
@@ -88,7 +88,7 @@ int APIENTRY wWinMain(
/*
//test 2
-
+
const auto layout = CreateWithLayout<LinearLayout>(LayoutSideParams::Exactly(500), LayoutSideParams::Content());
layout->mouse_click_event.AddHandler([layout](cru::ui::events::MouseButtonEventArgs& args)