ScummVM API documentation
Localization

Description

Functions for managing localized elements of the GUI.

Functions

void Common::getLanguageYesNo (Language id, KeyCode &keyYes, KeyCode &keyNo)
 
void Common::getLanguageYesNo (KeyCode &keyYes, KeyCode &keyNo)
 

Function Documentation

◆ 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
idLanguage id
keyYesKey code for yes
keyNoKey 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
keyYesKey code for yes
keyNoKey code for no