Functions for managing localized elements of the GUI.
◆ getLanguageYesNo() [1/2]
void Common::getLanguageYesNo |
( |
Language |
id, |
|
|
KeyCode & |
keyYes, |
|
|
KeyCode & |
keyNo |
|
) |
| |
Get localized equivalents for Y/N buttons of the specified language. In case there is no specialized keys for the given language it will fall back to the English keys.
- Parameters
-
id | Language id |
keyYes | Key code for yes |
keyNo | Key code for no |
◆ getLanguageYesNo() [2/2]
void Common::getLanguageYesNo |
( |
KeyCode & |
keyYes, |
|
|
KeyCode & |
keyNo |
|
) |
| |
Get localized equivalents for Y/N buttons of the current translation language of the ScummVM GUI.
- Parameters
-
keyYes | Key code for yes |
keyNo | Key code for no |