mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[TextEdit / LineEdit] Add support for OEM Alt codes input.
This commit is contained in:
parent
c374ce211c
commit
aa0ade5b49
7 changed files with 257 additions and 25 deletions
|
@ -288,6 +288,14 @@ private:
|
|||
Text text;
|
||||
bool setting_text = false;
|
||||
|
||||
enum AltInputMode {
|
||||
ALT_INPUT_NONE,
|
||||
ALT_INPUT_UNICODE,
|
||||
ALT_INPUT_OEM,
|
||||
ALT_INPUT_WIN,
|
||||
};
|
||||
|
||||
AltInputMode alt_mode = ALT_INPUT_NONE;
|
||||
bool alt_start = false;
|
||||
bool alt_start_no_hold = false;
|
||||
uint32_t alt_code = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue