diff options
| author | crupest <crupest@outlook.com> | 2020-03-19 19:45:26 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2020-03-19 19:45:26 +0800 | 
| commit | 507de8c6a931d0784c8f740d41db610d3ed8db68 (patch) | |
| tree | 9f77d8e2b1b0955ff669677b4d5913a08075946a /include/cru/win/native/window.hpp | |
| parent | 5da4f511e85de9e79bee40e3c5e04f899a48723c (diff) | |
| download | cru-507de8c6a931d0784c8f740d41db610d3ed8db68.tar.gz cru-507de8c6a931d0784c8f740d41db610d3ed8db68.tar.bz2 cru-507de8c6a931d0784c8f740d41db610d3ed8db68.zip  | |
...
Diffstat (limited to 'include/cru/win/native/window.hpp')
| -rw-r--r-- | include/cru/win/native/window.hpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/win/native/window.hpp b/include/cru/win/native/window.hpp index 3c883338..d5f41e47 100644 --- a/include/cru/win/native/window.hpp +++ b/include/cru/win/native/window.hpp @@ -75,6 +75,7 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow {    }    IEvent<int>* KeyDownEvent() override { return &key_down_event_; }    IEvent<int>* KeyUpEvent() override { return &key_up_event_; } +  IEvent<std::string>* CharEvent() override { return &char_event_; };    IEvent<WindowNativeMessageEventArgs&>* NativeMessageEvent() {      return &native_message_event_; @@ -148,6 +149,7 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow {    Event<platform::native::NativeMouseButtonEventArgs> mouse_up_event_;    Event<int> key_down_event_;    Event<int> key_up_event_; +  Event<std::string> char_event_;    Event<WindowNativeMessageEventArgs&> native_message_event_;  };  | 
