(XMB) Yet another gradient, for high contrast

This commit is contained in:
Jean-André Santoni 2016-04-29 05:06:32 +07:00
parent cacc8451a6
commit 0dc69d4721
3 changed files with 13 additions and 1 deletions

View File

@ -692,6 +692,9 @@ static void menu_action_setting_disp_set_label_xmb_gradient(
case 7:
snprintf(s, len, "%s", "Volcanic Red");
break;
case 8:
snprintf(s, len, "%s", "Midnight Blue");
break;
}
}

View File

@ -288,6 +288,13 @@ float gradient_volcanic_red[16] = {
0.1, 0.0, 0.1, 1.00,
};
float gradient_dark[16] = {
0.1, 0.1, 0.1, 1.00,
0.1, 0.1, 0.1, 1.00,
0.0, 0.0, 0.0, 1.00,
0.0, 0.0, 0.0, 1.00,
};
static const char *xmb_theme_ident(void)
{
settings_t *settings = config_get_ptr();
@ -347,6 +354,8 @@ static float *xmb_gradient_ident(void)
return &gradient_undersea[0];
case 7:
return &gradient_volcanic_red[0];
case 8:
return &gradient_dark[0];
case 0:
default:
break;

View File

@ -5992,7 +5992,7 @@ static bool setting_append_list(
parent_group,
general_write_handler,
general_read_handler);
menu_settings_list_current_add_range(list, list_info, 0, 7, 1, true, true);
menu_settings_list_current_add_range(list, list_info, 0, 8, 1, true, true);
}
CONFIG_BOOL(