GUI: U32: More issue fixes and general improvements
- Use the fake constructor for message dialog less often - solve errors regarding comparision between string and u32string in midi - solve errors in testbed/speech related to ttsMan->say - fix unsigned comparision warning in tab.cpp - fix issue with static strings and translations in sdl-graphics
This commit is contained in:
parent
da380a9002
commit
a9bfe35216
20 changed files with 31 additions and 30 deletions
|
@ -419,7 +419,7 @@ Common::Keymap *SdlGraphicsManager::getKeymap() {
|
|||
#ifdef USE_SCALERS
|
||||
struct ActionEntry {
|
||||
const char *id;
|
||||
U32String description;
|
||||
const char *description;
|
||||
};
|
||||
static const ActionEntry filters[] = {
|
||||
{ "FLT1", _s("Switch to nearest neighbour scaling") },
|
||||
|
@ -435,7 +435,7 @@ Common::Keymap *SdlGraphicsManager::getKeymap() {
|
|||
};
|
||||
|
||||
for (uint i = 0; i < ARRAYSIZE(filters); i++) {
|
||||
act = new Action(filters[i].id, filters[i].description);
|
||||
act = new Action(filters[i].id, _(filters[i].description));
|
||||
act->addDefaultInputMapping(String::format("C+A+%d", i + 1));
|
||||
act->addDefaultInputMapping(String::format("C+A+KP%d", i + 1));
|
||||
act->setCustomBackendActionEvent(kActionSetScaleFilter1 + i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue