(XMB) Use a tab styled icon for the netplay tab

This commit is contained in:
Jean-André Santoni 2017-02-27 22:48:27 +01:00
parent 46c153a0fe
commit 834087d1ad
4 changed files with 10 additions and 3 deletions

View File

@ -3502,7 +3502,7 @@ finish:
s,
msg_hash_to_str(MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM),
MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,
MENU_WIFI, 0, 0);
MENU_ROOM, 0, 0);
}
}
}

View File

@ -98,6 +98,7 @@ enum
#endif
#ifdef HAVE_NETWORKING
XMB_TEXTURE_NETPLAY,
XMB_TEXTURE_ROOM,
#endif
#ifdef HAVE_IMAGEVIEWER
XMB_TEXTURE_IMAGES,
@ -2084,6 +2085,8 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
return xmb->textures.list[XMB_TEXTURE_CORE_INFO];
case MENU_WIFI:
return xmb->textures.list[XMB_TEXTURE_WIFI];
case MENU_ROOM:
return xmb->textures.list[XMB_TEXTURE_ROOM];
}
return xmb->textures.list[XMB_TEXTURE_SUBSETTING];
@ -3452,7 +3455,9 @@ static const char *xmb_texture_path(unsigned id)
return "add.png";
#ifdef HAVE_NETWORKING
case XMB_TEXTURE_NETPLAY:
return "wifi.png";
return "netplay.png";
case XMB_TEXTURE_ROOM:
return "room.png";
#endif
case XMB_TEXTURE_KEY:
return "key.png";
@ -3460,6 +3465,7 @@ static const char *xmb_texture_path(unsigned id)
return "key-hover.png";
case XMB_TEXTURE_DIALOG_SLICE:
return "dialog-slice.png";
}
return NULL;

View File

@ -3006,7 +3006,7 @@ static int menu_displaylist_parse_netplay_room_list(
s,
msg_hash_to_str(MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM),
MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,
MENU_WIFI, 0, 0);
MENU_ROOM, 0, 0);
}
}

View File

@ -178,6 +178,7 @@ enum menu_settings_type
MENU_SETTING_SUBGROUP,
MENU_SETTING_HORIZONTAL_MENU,
MENU_WIFI,
MENU_ROOM,
MENU_NETPLAY_LAN_SCAN,
MENU_INFO_MESSAGE,
MENU_SETTINGS_SHADER_PARAMETER_0,