add own labels

This commit is contained in:
radius 2017-01-19 09:31:01 -05:00
parent 702f0cd95d
commit d2e09622c8
4 changed files with 7 additions and 4 deletions

View File

@ -157,6 +157,8 @@ MSG_HASH(MENU_ENUM_LABEL_CONFIG_SAVE_ON_EXIT,
"config_save_on_exit")
MSG_HASH(MENU_ENUM_LABEL_CONNECT_WIFI,
"connect_wifi")
MSG_HASH(MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,
"connect_room")
MSG_HASH(MENU_ENUM_LABEL_CONTENT_ACTIONS,
"content_actions")
MSG_HASH(MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST,

View File

@ -3356,8 +3356,8 @@ finish:
snprintf(s, sizeof(s), "Nickname: %s", netplay_room_list[i].nickname);
menu_entries_append_enum(file_list,
s,
msg_hash_to_str(MENU_ENUM_LABEL_CONNECT_WIFI),
MENU_ENUM_LABEL_CONNECT_WIFI,
msg_hash_to_str(MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM),
MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,
MENU_WIFI, 0, 0);
}

View File

@ -2969,8 +2969,8 @@ static int menu_displaylist_parse_netplay_room_list(
const char *label = s;
menu_entries_append_enum(info->list,
label,
msg_hash_to_str(MENU_ENUM_LABEL_CONNECT_WIFI),
MENU_ENUM_LABEL_CONNECT_WIFI,
msg_hash_to_str(MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM),
MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,
MENU_WIFI, 0, 0);
}
}

View File

@ -746,6 +746,7 @@ enum msg_hash_enums
MENU_LABEL(NETPLAY_LAN_SCAN_SETTINGS),
MENU_ENUM_LABEL_CONNECT_WIFI,
MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM,
MENU_ENUM_LABEL_CONNECT_NETPLAY_LAN,
MENU_LABEL(MENU_ENUM_LINEAR_FILTER),