diff options
author | crupest <crupest@outlook.com> | 2020-03-29 23:41:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-29 23:41:44 +0800 |
commit | 7dd9494e957af8280f7221395333f886c500edf5 (patch) | |
tree | 8912fe7d3be5e4479bc801c8c524bae0a97b98fe /include/cru/ui/window.hpp | |
parent | 725d296ff1d58451010295b2dff1a95a18623c44 (diff) | |
download | cru-7dd9494e957af8280f7221395333f886c500edf5.tar.gz cru-7dd9494e957af8280f7221395333f886c500edf5.tar.bz2 cru-7dd9494e957af8280f7221395333f886c500edf5.zip |
...
Diffstat (limited to 'include/cru/ui/window.hpp')
-rw-r--r-- | include/cru/ui/window.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cru/ui/window.hpp b/include/cru/ui/window.hpp index ae54d006..86112189 100644 --- a/include/cru/ui/window.hpp +++ b/include/cru/ui/window.hpp @@ -94,8 +94,9 @@ class Window final : public ContentControl, public SelfResolvable<Window> { const platform::native::NativeMouseButtonEventArgs& args); void OnNativeKeyDown(platform::native::INativeWindow* window, - int virtual_code); - void OnNativeKeyUp(platform::native::INativeWindow* window, int virtual_code); + const platform::native::NativeKeyEventArgs& args); + void OnNativeKeyUp(platform::native::INativeWindow* window, + const platform::native::NativeKeyEventArgs& args); void OnNativeChar(platform::native::INativeWindow* window, std::string c); //*************** region: event dispatcher helper *************** |