diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-04 19:11:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-04 19:11:40 +0200 |
commit | e9f8b2d1908f3dcfda945d20bb6cb86654d80277 (patch) | |
tree | a61f35ca2841cf224194b93a2a57da43c42a7be6 /platform/javascript/display_server_javascript.cpp | |
parent | bed2482ce20fb9efdf4caed73df8032c5c6dea04 (diff) | |
parent | 103c0fa6e6ea85779e5de965b5b353833926732f (diff) |
Merge pull request #58536 from winterpixelgames/feature/virtual-keyboard-types
Add support for multiple virtual keyboard types
Diffstat (limited to 'platform/javascript/display_server_javascript.cpp')
-rw-r--r-- | platform/javascript/display_server_javascript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/javascript/display_server_javascript.cpp b/platform/javascript/display_server_javascript.cpp index bcff3306d5..48f637fcfe 100644 --- a/platform/javascript/display_server_javascript.cpp +++ b/platform/javascript/display_server_javascript.cpp @@ -604,8 +604,8 @@ void DisplayServerJavaScript::vk_input_text_callback(const char *p_text, int p_c } } -void DisplayServerJavaScript::virtual_keyboard_show(const String &p_existing_text, const Rect2 &p_screen_rect, bool p_multiline, int p_max_input_length, int p_cursor_start, int p_cursor_end) { - godot_js_display_vk_show(p_existing_text.utf8().get_data(), p_multiline, p_cursor_start, p_cursor_end); +void DisplayServerJavaScript::virtual_keyboard_show(const String &p_existing_text, const Rect2 &p_screen_rect, VirtualKeyboardType p_type, int p_max_input_length, int p_cursor_start, int p_cursor_end) { + godot_js_display_vk_show(p_existing_text.utf8().get_data(), p_type, p_cursor_start, p_cursor_end); } void DisplayServerJavaScript::virtual_keyboard_hide() { |