From 5ffc746f0fc1114dadca4cb546bf90b066abba4f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 2 Feb 2017 19:18:47 +0100 Subject: [PATCH] Add sublabels --- intl/msg_hash_us.h | 4 ++++ menu/cbs/menu_cbs_sublabel.c | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 424505040e..1cf91ec25d 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2812,3 +2812,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_MENU_WALLPAPER_OPACITY, "Modify the opacity of the background wallpaper.") MSG_HASH(MENU_ENUM_SUBLABEL_XMB_MENU_COLOR_THEME, "Select a different background color gradient theme.") +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.") +MSG_HASH(MENU_ENUM_SUBLABEL_XMB_FONT, + "Select a different main font to be used by the menu.") diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index dd8c5f2496..4076c79740 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -259,6 +259,9 @@ default_sublabel_macro(action_bind_sublabel_xmb_icon_theme, default_sublabel_macro(action_bind_sublabel_xmb_shadows_enable, MENU_ENUM_SUBLABEL_XMB_SHADOWS_ENABLE) default_sublabel_macro(action_bind_sublabel_menu_color_theme, MENU_ENUM_SUBLABEL_MATERIALUI_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_ribbon_enable, MENU_ENUM_SUBLABEL_XMB_RIBBON_ENABLE) +default_sublabel_macro(action_bind_sublabel_menu_font, MENU_ENUM_SUBLABEL_XMB_FONT) + static int action_bind_sublabel_cheevos_entry( file_list_t *list, @@ -320,6 +323,12 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_XMB_FONT: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_font); + break; + case MENU_ENUM_LABEL_XMB_RIBBON_ENABLE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_ribbon_enable); + break; case MENU_ENUM_LABEL_MENU_WALLPAPER_OPACITY: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_wallpaper_opacity); break;