Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative.

This commit is contained in:
bruvzg
2018-11-23 14:07:48 +02:00
parent 8ba0d513fa
commit 4554c682e6
14 changed files with 87 additions and 43 deletions

View File

@ -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; }