diff options
author | geequlim <geequlim@gmail.com> | 2017-06-25 23:50:45 +0800 |
---|---|---|
committer | geequlim <geequlim@gmail.com> | 2017-07-11 18:36:20 +0800 |
commit | 7358766ff69e064d8a31b18c54e3c1e22e303cb6 (patch) | |
tree | e68eeea815da389c2fc36c878a745135499824c6 /core/os | |
parent | a5d500f0233913fe7622434225c5dc73ebaccd1e (diff) |
IME window follow the input cursor.
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h index 11fe8b44e3..cafd1f4e14 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; }; |