diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-06-11 12:27:07 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-06-13 11:02:00 +0300 |
commit | 92352b1c2374d6dda80eda7536b925ac111f94af (patch) | |
tree | bf59049f90ef1b640a58d1c999e096a79784c0ff /platform/windows/display_server_windows.h | |
parent | 84abf5a979648081a9076ec6b342f5f9d33093d4 (diff) |
Add keyboard layout enumeration / set / get functions (macOS, Windows, Linux/X11), remove latin variant function.
Diffstat (limited to 'platform/windows/display_server_windows.h')
-rw-r--r-- | platform/windows/display_server_windows.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/windows/display_server_windows.h b/platform/windows/display_server_windows.h index caf8598dc2..995ced0809 100644 --- a/platform/windows/display_server_windows.h +++ b/platform/windows/display_server_windows.h @@ -523,7 +523,11 @@ public: virtual void enable_for_stealing_focus(OS::ProcessID pid); - virtual LatinKeyboardVariant get_latin_keyboard_variant() const; + virtual int keyboard_get_layout_count() const; + virtual int keyboard_get_current_layout() const; + virtual void keyboard_set_current_layout(int p_index); + virtual String keyboard_get_layout_language(int p_index) const; + virtual String keyboard_get_layout_name(int p_index) const; virtual void process_events(); |