diff options
| author | geequlim | 2017-06-25 23:50:45 +0800 |
|---|---|---|
| committer | geequlim | 2017-07-11 18:36:20 +0800 |
| commit | 7358766ff69e064d8a31b18c54e3c1e22e303cb6 (patch) | |
| tree | e68eeea815da389c2fc36c878a745135499824c6 /core/bind/core_bind.h | |
| parent | a5d500f0233913fe7622434225c5dc73ebaccd1e (diff) | |
| download | godot-7358766ff69e064d8a31b18c54e3c1e22e303cb6.tar.gz godot-7358766ff69e064d8a31b18c54e3c1e22e303cb6.tar.zst godot-7358766ff69e064d8a31b18c54e3c1e22e303cb6.zip | |
IME window follow the input cursor.
Abstruct set_ime_position to OS class.
Update ime position for LineEdit and TextEdit.
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 87d84c073..f72f665d9 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -158,6 +158,8 @@ public: virtual void set_borderless_window(bool p_borderless); virtual bool get_borderless_window() const; + virtual void set_ime_position(const Point2 &p_pos); + Error native_video_play(String p_path, float p_volume, String p_audio_track, String p_subtitle_track); bool native_video_is_playing(); void native_video_pause(); |
