From 7358766ff69e064d8a31b18c54e3c1e22e303cb6 Mon Sep 17 00:00:00 2001 From: geequlim Date: Sun, 25 Jun 2017 23:50:45 +0800 Subject: IME window follow the input cursor. Abstruct set_ime_position to OS class. Update ime position for LineEdit and TextEdit. --- core/os/os.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/os/os.h') diff --git a/core/os/os.h b/core/os/os.h index 11fe8b44e..cafd1f4e1 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -179,6 +179,8 @@ public: virtual void set_borderless_window(int p_borderless) {} virtual bool get_borderless_window() { return 0; } + virtual void set_ime_position(const Point2 &p_pos) {} + virtual Error open_dynamic_library(const String p_path, void *&p_library_handle) { return ERR_UNAVAILABLE; }; virtual Error close_dynamic_library(void *p_library_handle) { return ERR_UNAVAILABLE; }; virtual Error get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle) { return ERR_UNAVAILABLE; }; -- cgit v1.2.3-70-g09d2