[TextEdit / LineEdit] Add support for OEM Alt codes input.
This commit is contained in:
committed by
Pāvels Nadtočajevs
parent
c374ce211c
commit
aa0ade5b49
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user