Add sublabel

This commit is contained in:
twinaphex 2017-02-02 09:29:02 +01:00
parent ab498d3cf8
commit 20d517e4db
2 changed files with 6 additions and 0 deletions

View File

@ -2763,3 +2763,5 @@ MSG_HASH(MENU_ENUM_SUBLABEL_SHOW_ADVANCED_SETTINGS,
"Show advanced settings for powerusers (hidden by default).")
MSG_HASH(MENU_ENUM_SUBLABEL_THREADED_DATA_RUNLOOP_ENABLE,
"Perform tasks on a seperate thread.")
MSG_HASH(MENU_ENUM_SUBLABEL_PLAYLIST_ENTRY_REMOVE,
"Allow the user to remove entries from collections.")

View File

@ -241,6 +241,7 @@ default_sublabel_macro(action_bind_sublabel_core_input_remapping_options,
default_sublabel_macro(action_bind_sublabel_core_options, MENU_ENUM_SUBLABEL_CORE_OPTIONS)
default_sublabel_macro(action_bind_sublabel_show_advanced_settings, MENU_ENUM_SUBLABEL_SHOW_ADVANCED_SETTINGS)
default_sublabel_macro(action_bind_sublabel_threaded_data_runloop_enable, MENU_ENUM_SUBLABEL_THREADED_DATA_RUNLOOP_ENABLE)
default_sublabel_macro(action_bind_sublabel_playlist_entry_remove, MENU_ENUM_SUBLABEL_PLAYLIST_ENTRY_REMOVE)
static int action_bind_sublabel_cheevos_entry(
file_list_t *list,
@ -302,6 +303,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
{
switch (cbs->enum_idx)
{
case MENU_ENUM_LABEL_PLAYLIST_ENTRY_REMOVE:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_playlist_entry_remove);
break;
case MENU_ENUM_LABEL_THREADED_DATA_RUNLOOP_ENABLE:
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_threaded_data_runloop_enable);
break;