summaryrefslogtreecommitdiff
path: root/core/os/os.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2018-11-23 14:07:48 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2018-11-23 14:07:48 +0200
commit4554c682e6c9749116c79313d6f08cd6e8b7e6e6 (patch)
treeca6f01129c89cd85eb6dd9b065a90a976c30ba44 /core/os/os.h
parent8ba0d513fa0068a241a25fbb6db09315fa3309cc (diff)
Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative.
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 7786ffb26e..9fe300566a 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -242,7 +242,8 @@ public:
virtual void set_ime_active(const bool p_active) {}
virtual void set_ime_position(const Point2 &p_pos) {}
- virtual void set_ime_intermediate_text_callback(ImeCallback p_callback, void *p_inp) {}
+ virtual Point2 get_ime_selection() const { return Point2(); }
+ virtual String get_ime_text() const { return String(); }
virtual Error open_dynamic_library(const String p_path, void *&p_library_handle, bool p_also_set_library_path = false) { return ERR_UNAVAILABLE; }
virtual Error close_dynamic_library(void *p_library_handle) { return ERR_UNAVAILABLE; }