(XMB) Add back the red gradient

This commit is contained in:
Jean-André Santoni 2016-04-22 18:16:31 +07:00
parent 339a0cdef4
commit 9cd0d46476
3 changed files with 13 additions and 1 deletions

View File

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

View File

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

View File

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