aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/native/window.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-04-21 17:08:43 +0800
committercrupest <crupest@outlook.com>2020-04-21 17:08:43 +0800
commit2898b68fc4f7ff40844ddf5a1d0b59f76b06290f (patch)
tree167ba0bff2d995a6f68337bb83cc9e3648dc720a /include/cru/win/native/window.hpp
parent857adcb7ee2d45b2e29d4250fa4246bb8861a8f9 (diff)
downloadcru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.tar.gz
cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.tar.bz2
cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.zip
...
Diffstat (limited to 'include/cru/win/native/window.hpp')
-rw-r--r--include/cru/win/native/window.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/cru/win/native/window.hpp b/include/cru/win/native/window.hpp
index 83497fa6..59b38ab5 100644
--- a/include/cru/win/native/window.hpp
+++ b/include/cru/win/native/window.hpp
@@ -72,7 +72,6 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow {
IEvent<platform::native::NativeKeyEventArgs>* KeyUpEvent() override {
return &key_up_event_;
}
- IEvent<std::string_view>* CharEvent() override { return &char_event_; };
IEvent<WindowNativeMessageEventArgs&>* NativeMessageEvent() {
return &native_message_event_;
@@ -109,7 +108,6 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow {
void OnMouseWheelInternal(short delta, POINT point);
void OnKeyDownInternal(int virtual_code);
void OnKeyUpInternal(int virtual_code);
- void OnCharInternal(wchar_t c);
void OnActivatedInternal();
void OnDeactivatedInternal();
@@ -146,14 +144,8 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow {
Event<platform::native::NativeMouseButtonEventArgs> mouse_up_event_;
Event<platform::native::NativeKeyEventArgs> key_down_event_;
Event<platform::native::NativeKeyEventArgs> key_up_event_;
- Event<std::string_view> char_event_;
Event<WindowNativeMessageEventArgs&> native_message_event_;
-
- // WM_CHAR may be sent twice successively with two utf-16 code units of
- // surrogate pair when character is from supplementary planes. This field is
- // used to save the previous one.
- wchar_t last_wm_char_event_wparam_;
};
class WinNativeWindowResolver : public WinNativeResource,