mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-17 18:55:19 +01:00
overlays: Add icons for trophies and friends
This commit is contained in:
parent
27ecfaee9c
commit
7fd0aa95fb
BIN
bin/Icons/ui/home/256/trophy-solid.png
Normal file
BIN
bin/Icons/ui/home/256/trophy-solid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7 KiB |
BIN
bin/Icons/ui/home/256/user-group-solid.png
Normal file
BIN
bin/Icons/ui/home/256/user-group-solid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
BIN
bin/Icons/ui/home/32/trophy-solid.png
Normal file
BIN
bin/Icons/ui/home/32/trophy-solid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 668 B |
BIN
bin/Icons/ui/home/32/user-group-solid.png
Normal file
BIN
bin/Icons/ui/home/32/user-group-solid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 659 B |
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue