Add sublabel

This commit is contained in:
twinaphex 2017-02-02 01:17:25 +01:00
parent 70392edfeb
commit c829f852b9
2 changed files with 6 additions and 0 deletions

View File

@ -2405,3 +2405,5 @@ MSG_HASH(MENU_ENUM_SUBLABEL_CHEEVOS_PASSWORD,
"Input the password of your Retro Achievements account.") "Input the password of your Retro Achievements account.")
MSG_HASH(MENU_ENUM_SUBLABEL_NETPLAY_NICKNAME, MSG_HASH(MENU_ENUM_SUBLABEL_NETPLAY_NICKNAME,
"Input your user name here. This will be used for netplay sessions among other things.") "Input your user name here. This will be used for netplay sessions among other things.")
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_POST_FILTER_RECORD,
"Capture the image after filters (but not shaders) are applied. Your video will look as fancy as what you see on your screen.")

View File

@ -128,6 +128,7 @@ default_sublabel_macro(action_bind_sublabel_video_filter, MENU_
default_sublabel_macro(action_bind_sublabel_netplay_nickname, MENU_ENUM_SUBLABEL_NETPLAY_NICKNAME) default_sublabel_macro(action_bind_sublabel_netplay_nickname, MENU_ENUM_SUBLABEL_NETPLAY_NICKNAME)
default_sublabel_macro(action_bind_sublabel_cheevos_username, MENU_ENUM_SUBLABEL_CHEEVOS_USERNAME) default_sublabel_macro(action_bind_sublabel_cheevos_username, MENU_ENUM_SUBLABEL_CHEEVOS_USERNAME)
default_sublabel_macro(action_bind_sublabel_cheevos_password, MENU_ENUM_SUBLABEL_CHEEVOS_PASSWORD) default_sublabel_macro(action_bind_sublabel_cheevos_password, MENU_ENUM_SUBLABEL_CHEEVOS_PASSWORD)
default_sublabel_macro(action_bind_sublabel_video_post_filter_record, MENU_ENUM_SUBLABEL_VIDEO_POST_FILTER_RECORD)
/* MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM*/ /* MENU_ENUM_LABEL_CONNECT_NETPLAY_ROOM*/
@ -191,6 +192,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
{ {
switch (cbs->enum_idx) switch (cbs->enum_idx)
{ {
case MENU_ENUM_LABEL_VIDEO_POST_FILTER_RECORD:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_post_filter_record);
break;
case MENU_ENUM_LABEL_NETPLAY_NICKNAME: case MENU_ENUM_LABEL_NETPLAY_NICKNAME:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_nickname); BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_netplay_nickname);
break; break;