aboutsummaryrefslogtreecommitdiff
path: root/src/osx/gui/WindowPrivate.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-10-21 22:15:52 +0800
committercrupest <crupest@outlook.com>2021-10-21 22:15:52 +0800
commite998a88b5ad6cc260836b3374e882e2ef67d5d35 (patch)
tree0bf82250bae0817370986a9a20750bae92a4922f /src/osx/gui/WindowPrivate.h
parent6f1edc1604341b32e13371c8a4ad431e9a00cc87 (diff)
downloadcru-e998a88b5ad6cc260836b3374e882e2ef67d5d35.tar.gz
cru-e998a88b5ad6cc260836b3374e882e2ef67d5d35.tar.bz2
cru-e998a88b5ad6cc260836b3374e882e2ef67d5d35.zip
...
Diffstat (limited to 'src/osx/gui/WindowPrivate.h')
-rw-r--r--src/osx/gui/WindowPrivate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osx/gui/WindowPrivate.h b/src/osx/gui/WindowPrivate.h
index e3b93f8a..076b59d9 100644
--- a/src/osx/gui/WindowPrivate.h
+++ b/src/osx/gui/WindowPrivate.h
@@ -17,8 +17,10 @@
style:(NSWindowStyleMask)style;
@end
-@interface CruView : NSView
+@interface CruView : NSView <NSTextInputClient>
- (instancetype)init:(cru::platform::gui::osx::details::OsxWindowPrivate*)p
+ input_context_p:
+ (cru::platform::gui::osx::details::OsxInputMethodContextPrivate*)input_context_p
frame:(cru::platform::Rect)frame;
@end