mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Set XMB icon theme by default to Monochrome, and fix hardcoding
This commit is contained in:
parent
1035029a89
commit
fabf68e441
@ -518,6 +518,8 @@ static bool default_block_config_read = true;
|
|||||||
|
|
||||||
static unsigned xmb_scale_factor = 100;
|
static unsigned xmb_scale_factor = 100;
|
||||||
static unsigned xmb_alpha_factor = 75;
|
static unsigned xmb_alpha_factor = 75;
|
||||||
|
|
||||||
|
static unsigned xmb_icon_theme = XMB_ICON_THEME_MONOCHROME;
|
||||||
static unsigned xmb_theme = XMB_THEME_ELECTRIC_BLUE;
|
static unsigned xmb_theme = XMB_THEME_ELECTRIC_BLUE;
|
||||||
|
|
||||||
#ifdef HAVE_LAKKA
|
#ifdef HAVE_LAKKA
|
||||||
|
@ -678,19 +678,19 @@ static void menu_action_setting_disp_set_label_xmb_theme(
|
|||||||
*w = 19;
|
*w = 19;
|
||||||
switch (settings->menu.xmb.theme)
|
switch (settings->menu.xmb.theme)
|
||||||
{
|
{
|
||||||
case 0:
|
case XMB_ICON_THEME_MONOCHROME:
|
||||||
strlcpy(s, "Monochrome", len);
|
strlcpy(s, "Monochrome", len);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case XMB_ICON_THEME_FLATUI:
|
||||||
strlcpy(s, "FlatUI", len);
|
strlcpy(s, "FlatUI", len);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case XMB_ICON_THEME_RETROACTIVE:
|
||||||
strlcpy(s, "RetroActive", len);
|
strlcpy(s, "RetroActive", len);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case XMB_ICON_THEME_PIXEL:
|
||||||
strlcpy(s, "Pixel", len);
|
strlcpy(s, "Pixel", len);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case XMB_ICON_THEME_CUSTOM:
|
||||||
strlcpy(s, "Custom", len);
|
strlcpy(s, "Custom", len);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -314,15 +314,15 @@ const char *xmb_theme_ident(void)
|
|||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
switch (settings->menu.xmb.theme)
|
switch (settings->menu.xmb.theme)
|
||||||
{
|
{
|
||||||
case 1:
|
case XMB_ICON_THEME_FLATUI:
|
||||||
return "flatui";
|
return "flatui";
|
||||||
case 2:
|
case XMB_ICON_THEME_RETROACTIVE:
|
||||||
return "retroactive";
|
return "retroactive";
|
||||||
case 3:
|
case XMB_ICON_THEME_PIXEL:
|
||||||
return "pixel";
|
return "pixel";
|
||||||
case 4:
|
case XMB_ICON_THEME_CUSTOM:
|
||||||
return "custom";
|
return "custom";
|
||||||
case 0:
|
case XMB_ICON_THEME_MONOCHROME:
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -56,6 +56,15 @@ enum xmb_color_theme
|
|||||||
XMB_THEME_LAST
|
XMB_THEME_LAST
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum xmb_icon_theme
|
||||||
|
{
|
||||||
|
XMB_ICON_THEME_MONOCHROME = 0,
|
||||||
|
XMB_ICON_THEME_FLATUI,
|
||||||
|
XMB_ICON_THEME_RETROACTIVE,
|
||||||
|
XMB_ICON_THEME_PIXEL,
|
||||||
|
XMB_ICON_THEME_CUSTOM
|
||||||
|
};
|
||||||
|
|
||||||
enum xmb_shader_pipeline
|
enum xmb_shader_pipeline
|
||||||
{
|
{
|
||||||
XMB_SHADER_PIPELINE_WALLPAPER = 0,
|
XMB_SHADER_PIPELINE_WALLPAPER = 0,
|
||||||
|
@ -6894,7 +6894,7 @@ static bool setting_append_list(
|
|||||||
&settings->menu.xmb.theme,
|
&settings->menu.xmb.theme,
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_XMB_THEME),
|
msg_hash_to_str(MENU_ENUM_LABEL_XMB_THEME),
|
||||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_THEME),
|
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_THEME),
|
||||||
xmb_theme,
|
xmb_icon_theme,
|
||||||
&group_info,
|
&group_info,
|
||||||
&subgroup_info,
|
&subgroup_info,
|
||||||
parent_group,
|
parent_group,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user