summaryrefslogtreecommitdiff
path: root/platform/android/os_android.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-23 08:20:24 +0100
committerGitHub <noreply@github.com>2020-01-23 08:20:24 +0100
commitc2e07db071a30e8b4cb8073f15d7fc6dbf9c8a1d (patch)
treee71ef28498300fe971845e90b90a19426a7efb54 /platform/android/os_android.h
parentf03a121b6d83fc93f1c0d0aeb4308dda112f444f (diff)
parenta3bcdbeb78715fdc30a130935bd21cb44b969ded (diff)
Merge pull request #35438 from MadEqua/virtual-keyboard-line-edit
Android virtual keyboard respecting LineEdit max length.
Diffstat (limited to 'platform/android/os_android.h')
-rw-r--r--platform/android/os_android.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/os_android.h b/platform/android/os_android.h
index 1cf64a2e84..c2f9a0992f 100644
--- a/platform/android/os_android.h
+++ b/platform/android/os_android.h
@@ -158,7 +158,7 @@ public:
virtual bool has_touchscreen_ui_hint() const;
virtual bool has_virtual_keyboard() const;
- virtual void show_virtual_keyboard(const String &p_existing_text, const Rect2 &p_screen_rect = Rect2());
+ virtual void show_virtual_keyboard(const String &p_existing_text, const Rect2 &p_screen_rect = Rect2(), int p_max_input_length = -1);
virtual void hide_virtual_keyboard();
virtual int get_virtual_keyboard_height() const;