diff options
author | Ruslan Mustakov <r.mustakov@gmail.com> | 2017-10-04 15:39:31 +0700 |
---|---|---|
committer | Ruslan Mustakov <r.mustakov@gmail.com> | 2017-10-04 17:21:05 +0700 |
commit | 275e537058ed870c4d37002f2110b7866d2ed1ae (patch) | |
tree | 150656cd97e9bae45098829d34d3fd34f1beadb0 /core/bind/core_bind.h | |
parent | 6dc1025e6313d711939269e1578fff5ffc0cd30a (diff) |
Allow to obtain virtual keyboard height
On mobile platforms virtual keyboards take up significant amount of
screen space and UI containing a text box may need to be adjusted
after the keyboard appears to keep the text box visible to user. This
commit adds a way to obtain virtual keyabord height so that controls
are aware of how much they need to move.
Diffstat (limited to 'core/bind/core_bind.h')
-rw-r--r-- | core/bind/core_bind.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index f12ab9f000..c6f61b0b37 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -204,6 +204,7 @@ public: bool has_virtual_keyboard() const; void show_virtual_keyboard(const String &p_existing_text = ""); void hide_virtual_keyboard(); + int get_virtual_keyboard_height(); void print_resources_in_use(bool p_short = false); void print_all_resources(const String &p_to_file); |