Add sublabel

This commit is contained in:
twinaphex 2017-02-02 20:19:40 +01:00
parent 7f67bdfd1f
commit c1df5a0a7c
2 changed files with 6 additions and 0 deletions

View File

@ -2890,3 +2890,5 @@ MSG_HASH(MENU_ENUM_SUBLABEL_RECORDING_OUTPUT_DIRECTORY,
"Recordings will be dumped to this directory.")
MSG_HASH(MENU_ENUM_SUBLABEL_RECORDING_CONFIG_DIRECTORY,
"Recording configurations will be kept here.")
MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_FONT_PATH,
"Select a different font for onscreen notifications.")

View File

@ -292,6 +292,7 @@ default_sublabel_macro(action_bind_sublabel_video_filter_directory,
default_sublabel_macro(action_bind_sublabel_video_shader_directory, MENU_ENUM_SUBLABEL_VIDEO_SHADER_DIR)
default_sublabel_macro(action_bind_sublabel_recording_output_directory, MENU_ENUM_SUBLABEL_RECORDING_OUTPUT_DIRECTORY)
default_sublabel_macro(action_bind_sublabel_recording_config_directory, MENU_ENUM_SUBLABEL_RECORDING_CONFIG_DIRECTORY)
default_sublabel_macro(action_bind_sublabel_video_font_path, MENU_ENUM_SUBLABEL_VIDEO_FONT_PATH)
static int action_bind_sublabel_cheevos_entry(
file_list_t *list,
@ -353,6 +354,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
{
switch (cbs->enum_idx)
{
case MENU_ENUM_LABEL_VIDEO_FONT_PATH:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_video_font_path);
break;
case MENU_ENUM_LABEL_RECORDING_CONFIG_DIRECTORY:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_recording_config_directory);
break;