diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-06-13 15:26:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-13 15:26:50 +0200 |
commit | d6d8237a5a976317493b9759868c6246c22f39c9 (patch) | |
tree | 55f5622e88e75761adf2ac746d7e9b8bd07a3c50 /core/bind | |
parent | 7bb6b39c10135119f9510a6f43f929be5dbeceaa (diff) | |
parent | c5bdb5b1d8893abaf171520412479fb31a697a41 (diff) |
Merge pull request #19509 from SaracenOne/ime
IME context detection.
Diffstat (limited to 'core/bind')
-rw-r--r-- | core/bind/core_bind.cpp | 5 | ||||
-rw-r--r-- | core/bind/core_bind.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index b7f20588f2..372cff4412 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -348,6 +348,11 @@ bool _OS::get_borderless_window() const { return OS::get_singleton()->get_borderless_window(); } +void _OS::set_ime_active(const bool p_active) { + + return OS::get_singleton()->set_ime_active(p_active); +} + void _OS::set_ime_position(const Point2 &p_pos) { return OS::get_singleton()->set_ime_position(p_pos); diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 1de5e43b27..560d9e9873 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -183,6 +183,7 @@ public: virtual bool get_window_per_pixel_transparency_enabled() const; virtual void set_window_per_pixel_transparency_enabled(bool p_enabled); + virtual void set_ime_active(const bool p_active); 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); |