mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Add Show Favorites sublabel
This commit is contained in:
parent
8424c26068
commit
8e0e99ba66
@ -2925,6 +2925,8 @@ MSG_HASH(MENU_ENUM_SUBLABEL_XMB_RIBBON_ENABLE,
|
|||||||
"Select an animated background effect. Can be GPU-intensive depending on the effect. If performance is unsatisfactory, either turn this off or revert to a simpler effect.")
|
"Select an animated background effect. Can be GPU-intensive depending on the effect. If performance is unsatisfactory, either turn this off or revert to a simpler effect.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_XMB_FONT,
|
MSG_HASH(MENU_ENUM_SUBLABEL_XMB_FONT,
|
||||||
"Select a different main font to be used by the menu.")
|
"Select a different main font to be used by the menu.")
|
||||||
|
MSG_HASH(MENU_ENUM_SUBLABEL_XMB_SHOW_FAVORITES,
|
||||||
|
"Show the favorites tab inside the main menu.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_XMB_SHOW_IMAGES,
|
MSG_HASH(MENU_ENUM_SUBLABEL_XMB_SHOW_IMAGES,
|
||||||
"Show the image tab inside the main menu.")
|
"Show the image tab inside the main menu.")
|
||||||
MSG_HASH(MENU_ENUM_SUBLABEL_XMB_SHOW_MUSIC,
|
MSG_HASH(MENU_ENUM_SUBLABEL_XMB_SHOW_MUSIC,
|
||||||
|
@ -281,6 +281,7 @@ default_sublabel_macro(action_bind_sublabel_menu_color_theme,
|
|||||||
default_sublabel_macro(action_bind_sublabel_menu_wallpaper_opacity, MENU_ENUM_SUBLABEL_MENU_WALLPAPER_OPACITY)
|
default_sublabel_macro(action_bind_sublabel_menu_wallpaper_opacity, MENU_ENUM_SUBLABEL_MENU_WALLPAPER_OPACITY)
|
||||||
default_sublabel_macro(action_bind_sublabel_menu_ribbon_enable, MENU_ENUM_SUBLABEL_XMB_RIBBON_ENABLE)
|
default_sublabel_macro(action_bind_sublabel_menu_ribbon_enable, MENU_ENUM_SUBLABEL_XMB_RIBBON_ENABLE)
|
||||||
default_sublabel_macro(action_bind_sublabel_menu_font, MENU_ENUM_SUBLABEL_XMB_FONT)
|
default_sublabel_macro(action_bind_sublabel_menu_font, MENU_ENUM_SUBLABEL_XMB_FONT)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_menu_favorites_tab, MENU_ENUM_SUBLABEL_XMB_SHOW_FAVORITES)
|
||||||
default_sublabel_macro(action_bind_sublabel_menu_images_tab, MENU_ENUM_SUBLABEL_XMB_SHOW_IMAGES)
|
default_sublabel_macro(action_bind_sublabel_menu_images_tab, MENU_ENUM_SUBLABEL_XMB_SHOW_IMAGES)
|
||||||
default_sublabel_macro(action_bind_sublabel_menu_show_online_updater, MENU_ENUM_SUBLABEL_MENU_SHOW_ONLINE_UPDATER)
|
default_sublabel_macro(action_bind_sublabel_menu_show_online_updater, MENU_ENUM_SUBLABEL_MENU_SHOW_ONLINE_UPDATER)
|
||||||
default_sublabel_macro(action_bind_sublabel_menu_show_core_updater, MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER)
|
default_sublabel_macro(action_bind_sublabel_menu_show_core_updater, MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER)
|
||||||
@ -543,6 +544,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
|||||||
case MENU_ENUM_LABEL_XMB_SHOW_SETTINGS:
|
case MENU_ENUM_LABEL_XMB_SHOW_SETTINGS:
|
||||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_settings_tab);
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_settings_tab);
|
||||||
break;
|
break;
|
||||||
|
case MENU_ENUM_LABEL_XMB_SHOW_FAVORITES:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_favorites_tab);
|
||||||
|
break;
|
||||||
case MENU_ENUM_LABEL_XMB_SHOW_IMAGES:
|
case MENU_ENUM_LABEL_XMB_SHOW_IMAGES:
|
||||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_images_tab);
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_images_tab);
|
||||||
break;
|
break;
|
||||||
|
@ -3297,7 +3297,7 @@ static void *xmb_init(void **userdata, bool video_is_threaded)
|
|||||||
xmb->tabs[++xmb->system_tab_end] = XMB_SYSTEM_TAB_SETTINGS;
|
xmb->tabs[++xmb->system_tab_end] = XMB_SYSTEM_TAB_SETTINGS;
|
||||||
if (settings->bools.menu_xmb_show_history)
|
if (settings->bools.menu_xmb_show_history)
|
||||||
xmb->tabs[++xmb->system_tab_end] = XMB_SYSTEM_TAB_HISTORY;
|
xmb->tabs[++xmb->system_tab_end] = XMB_SYSTEM_TAB_HISTORY;
|
||||||
/* TODO if (settings->bools.menu_xmb_show_favorites)*/
|
if (settings->bools.menu_xmb_show_favorites)
|
||||||
xmb->tabs[++xmb->system_tab_end] = XMB_SYSTEM_TAB_FAVORITES;
|
xmb->tabs[++xmb->system_tab_end] = XMB_SYSTEM_TAB_FAVORITES;
|
||||||
#ifdef HAVE_IMAGEVIEWER
|
#ifdef HAVE_IMAGEVIEWER
|
||||||
if (settings->bools.menu_xmb_show_images)
|
if (settings->bools.menu_xmb_show_images)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user