Merge branch 'TU30-RMLUI' into TU30-RMLUI

This commit is contained in:
GabsPuNs
2026-06-20 16:33:25 -04:00
committed by GitHub
11 changed files with 247 additions and 90 deletions

View File

@@ -75,24 +75,28 @@ void UIScene_SettingsMenu::handleInput(int iPad, int key, bool repeat, bool pres
{
case ACTION_MENU_UP:
ctx->ProcessKeyDown(Rml::Input::KI_UP, 0);
handled = true;
break;
case ACTION_MENU_DOWN:
ctx->ProcessKeyDown(Rml::Input::KI_DOWN, 0);
handled = true;
break;
case ACTION_MENU_OK:
if (g_KBMInput.IsKeyPressed(VK_RETURN))
{
ctx->ProcessKeyDown(Rml::Input::KI_RETURN, 0);
handled = true;
}
break;
case ACTION_MENU_CANCEL:
case ACTION_MENU_PAUSEMENU:
app.CheckGameSettingsChanged(true, iPad);
navigateBack();
app.CheckGameSettingsChanged(true, iPad);
navigateBack();
handled = true;
break;
default:
break;
}
handled = true;
}
void UIScene_SettingsMenu::ProcessEvent(Rml::Event& event)