From 4554c682e6c9749116c79313d6f08cd6e8b7e6e6 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Fri, 23 Nov 2018 14:07:48 +0200 Subject: Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative. --- core/os/main_loop.cpp | 1 + core/os/main_loop.h | 1 + core/os/os.h | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'core/os') diff --git a/core/os/main_loop.cpp b/core/os/main_loop.cpp index 0945cdd512..6e0b914367 100644 --- a/core/os/main_loop.cpp +++ b/core/os/main_loop.cpp @@ -60,6 +60,7 @@ void MainLoop::_bind_methods() { BIND_CONSTANT(NOTIFICATION_TRANSLATION_CHANGED); BIND_CONSTANT(NOTIFICATION_WM_ABOUT); BIND_CONSTANT(NOTIFICATION_CRASH); + BIND_CONSTANT(NOTIFICATION_OS_IME_UPDATE); }; void MainLoop::set_init_script(const Ref