overlays: Add icons for trophies and friends
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 7.0 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 |
@@ -35,6 +35,10 @@ namespace rsx::overlays::home_menu
|
|||||||
return "screenshot.png";
|
return "screenshot.png";
|
||||||
case fa_icon::video_camera:
|
case fa_icon::video_camera:
|
||||||
return "video-camera.png";
|
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,
|
poweroff,
|
||||||
restart,
|
restart,
|
||||||
screenshot,
|
screenshot,
|
||||||
video_camera
|
video_camera,
|
||||||
|
trophy,
|
||||||
|
friends
|
||||||
};
|
};
|
||||||
|
|
||||||
const image_info* get_icon(fa_icon icon);
|
const image_info* get_icon(fa_icon icon);
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ namespace rsx
|
|||||||
|
|
||||||
if (rsx::overlays::friends_list_dialog::rpcn_configured())
|
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;
|
if (btn != pad_button::cross) return page_navigation::stay;
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ namespace rsx
|
|||||||
}
|
}
|
||||||
if (!trop_name.empty())
|
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;
|
if (btn != pad_button::cross) return page_navigation::stay;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user