overlays: Add icons for trophies and friends

This commit is contained in:
kd-11 2026-03-11 02:32:42 +03:00 committed by kd-11
parent 27ecfaee9c
commit 7fd0aa95fb
7 changed files with 9 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

View file

@ -35,6 +35,10 @@ namespace rsx::overlays::home_menu
return "screenshot.png";
case fa_icon::video_camera:
return "video-camera.png";
case fa_icon::friends:
return "user-group-solid.png";
case fa_icon::trophy:
return "trophy-solid.png";
}
}

View file

@ -17,7 +17,9 @@ namespace rsx::overlays::home_menu
poweroff,
restart,
screenshot,
video_camera
video_camera,
trophy,
friends
};
const image_info* get_icon(fa_icon icon);

View file

@ -46,7 +46,7 @@ namespace rsx
if (rsx::overlays::friends_list_dialog::rpcn_configured())
{
add_item(home_menu::fa_icon::settings, get_localized_string(localized_string_id::HOME_MENU_FRIENDS), [](pad_button btn) -> page_navigation
add_item(home_menu::fa_icon::friends, get_localized_string(localized_string_id::HOME_MENU_FRIENDS), [](pad_button btn) -> page_navigation
{
if (btn != pad_button::cross) return page_navigation::stay;
@ -80,7 +80,7 @@ namespace rsx
}
if (!trop_name.empty())
{
add_item(home_menu::fa_icon::settings, get_localized_string(localized_string_id::HOME_MENU_TROPHIES), [trop_name = std::move(trop_name)](pad_button btn) -> page_navigation
add_item(home_menu::fa_icon::trophy, get_localized_string(localized_string_id::HOME_MENU_TROPHIES), [trop_name = std::move(trop_name)](pad_button btn) -> page_navigation
{
if (btn != pad_button::cross) return page_navigation::stay;