diff options
author | crupest <crupest@outlook.com> | 2020-04-21 17:08:43 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-21 17:08:43 +0800 |
commit | 2898b68fc4f7ff40844ddf5a1d0b59f76b06290f (patch) | |
tree | 167ba0bff2d995a6f68337bb83cc9e3648dc720a /include/cru/win/native/input_method.hpp | |
parent | 857adcb7ee2d45b2e29d4250fa4246bb8861a8f9 (diff) | |
download | cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.tar.gz cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.tar.bz2 cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.zip |
...
Diffstat (limited to 'include/cru/win/native/input_method.hpp')
-rw-r--r-- | include/cru/win/native/input_method.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/win/native/input_method.hpp b/include/cru/win/native/input_method.hpp index 8e17abd5..ff867f3f 100644 --- a/include/cru/win/native/input_method.hpp +++ b/include/cru/win/native/input_method.hpp @@ -61,6 +61,8 @@ class WinInputMethodContext : public WinNativeResource, IEvent<std::nullptr_t>* CompositionEvent() override; + IEvent<std::string_view>* TextEvent() override; + private: void OnWindowNativeMessage(WindowNativeMessageEventArgs& args); @@ -76,6 +78,7 @@ class WinInputMethodContext : public WinNativeResource, Event<std::nullptr_t> composition_start_event_; Event<std::nullptr_t> composition_end_event_; Event<std::nullptr_t> composition_event_; + Event<std::string_view> text_event_; }; class WinInputMethodManager : public WinNativeResource, |