Add New Menu and Strings

This commit is contained in:
Joshua de Reeper 2026-05-14 15:12:23 +02:00 committed by deReeperJosh
parent e429f8cf05
commit 64c8eead3c
8 changed files with 18 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B

View File

@ -51,6 +51,8 @@ namespace rsx::overlays::home_menu
return "sliders-solid.png";
case fa_icon::settings_gauge:
return "gauge-solid.png";
case fa_icon::usb:
return "usb-solid.png";
case fa_icon::bug:
return "bug-solid.png";
}

View File

@ -25,6 +25,7 @@ namespace rsx::overlays::home_menu
gamepad,
settings_sliders,
settings_gauge,
usb,
bug,
};

View File

@ -19,6 +19,7 @@ namespace rsx
add_page(home_menu::fa_icon::settings, std::make_shared<home_menu_settings_advanced>(x, y, width, height, use_separators, nullptr));
add_page(home_menu::fa_icon::settings_sliders, std::make_shared<home_menu_settings_overlays>(x, y, width, height, use_separators, nullptr));
add_page(home_menu::fa_icon::settings_gauge, std::make_shared<home_menu_settings_performance_overlay>(x, y, width, height, use_separators, nullptr));
add_page(home_menu::fa_icon::usb, std::make_shared<home_menu_settings_usb_devices>(x, y, width, height, use_separators, nullptr));
add_page(home_menu::fa_icon::bug, std::make_shared<home_menu_settings_debug>(x, y, width, height, use_separators, nullptr));
// Select the first item
@ -263,6 +264,13 @@ namespace rsx
apply_layout();
}
home_menu_settings_usb_devices::home_menu_settings_usb_devices(s16 x, s16 y, u16 width, u16 height, bool use_separators, home_menu_page* parent)
: home_menu_settings_page(x, y, width, height, use_separators, parent, get_localized_string(localized_string_id::HOME_MENU_SETTINGS_USB_DEVICES))
{
apply_layout();
}
home_menu_settings_debug::home_menu_settings_debug(s16 x, s16 y, u16 width, u16 height, bool use_separators, home_menu_page* parent)
: home_menu_settings_page(x, y, width, height, use_separators, parent, get_localized_string(localized_string_id::HOME_MENU_SETTINGS_DEBUG))
{

View File

@ -344,6 +344,11 @@ namespace rsx
home_menu_settings_performance_overlay(s16 x, s16 y, u16 width, u16 height, bool use_separators, home_menu_page* parent);
};
struct home_menu_settings_usb_devices : public home_menu_settings_page
{
home_menu_settings_usb_devices(s16 x, s16 y, u16 width, u16 height, bool use_separators, home_menu_page* parent);
};
struct home_menu_settings_debug : public home_menu_settings_page
{
home_menu_settings_debug(s16 x, s16 y, u16 width, u16 height, bool use_separators, home_menu_page* parent);

View File

@ -275,6 +275,7 @@ enum class localized_string_id
HOME_MENU_SETTINGS_PERFORMANCE_OVERLAY_FONT_SIZE,
HOME_MENU_SETTINGS_PERFORMANCE_OVERLAY_OPACITY,
HOME_MENU_SETTINGS_PERFORMANCE_OVERLAY_USE_WINDOW_SPACE,
HOME_MENU_SETTINGS_USB_DEVICES,
HOME_MENU_SETTINGS_DEBUG,
HOME_MENU_SETTINGS_DEBUG_OVERLAY,
HOME_MENU_SETTINGS_DEBUG_INPUT_OVERLAY,

View File

@ -295,6 +295,7 @@ private:
case localized_string_id::HOME_MENU_SETTINGS_PERFORMANCE_OVERLAY_FONT_SIZE: return tr("Font Size", "Performance Overlay");
case localized_string_id::HOME_MENU_SETTINGS_PERFORMANCE_OVERLAY_OPACITY: return tr("Opacity", "Performance Overlay");
case localized_string_id::HOME_MENU_SETTINGS_PERFORMANCE_OVERLAY_USE_WINDOW_SPACE: return tr("Use Window Space", "Performance Overlay");
case localized_string_id::HOME_MENU_SETTINGS_USB_DEVICES: return tr("USB Devices");
case localized_string_id::HOME_MENU_SETTINGS_DEBUG: return tr("Debug");
case localized_string_id::HOME_MENU_SETTINGS_DEBUG_OVERLAY: return tr("Debug Overlay", "Debug");
case localized_string_id::HOME_MENU_SETTINGS_DEBUG_INPUT_OVERLAY: return tr("Input Debug Overlay", "Debug");