mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
(XMB) Add back the red gradient
This commit is contained in:
parent
339a0cdef4
commit
9cd0d46476
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user