mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-27 05:05:51 +00:00
(MaterialUI) Allow for more themes later on
This commit is contained in:
parent
7d73e17b6f
commit
f94a8743a1
@ -806,7 +806,6 @@ static void mui_frame(void *data)
|
||||
char title_msg[256] = {0};
|
||||
bool background_rendered = false;
|
||||
bool libretro_running = menu_display_libretro_running();
|
||||
bool DARK_THEME = false;
|
||||
float *header_bg_color = blue_bg;
|
||||
float *highlighted_entry_color = lightblue_bg;
|
||||
float *footer_bg_color = white_bg;
|
||||
@ -823,15 +822,16 @@ static void mui_frame(void *data)
|
||||
if (!mui)
|
||||
return;
|
||||
|
||||
DARK_THEME = settings->menu.materialui.menu_color_theme;
|
||||
|
||||
clearcolor.r = 1.0f;
|
||||
clearcolor.g = 1.0f;
|
||||
clearcolor.b = 1.0f;
|
||||
clearcolor.a = 0.75f;
|
||||
|
||||
if (DARK_THEME)
|
||||
switch (settings->menu.materialui.menu_color_theme)
|
||||
{
|
||||
case 0:
|
||||
break;
|
||||
case 1: /* DARK */
|
||||
header_bg_color = greyish_blue;
|
||||
highlighted_entry_color = grey_bg;
|
||||
footer_bg_color = almost_black;
|
||||
@ -847,6 +847,7 @@ static void mui_frame(void *data)
|
||||
clearcolor.r = 0.13f;
|
||||
clearcolor.g = 0.13f;
|
||||
clearcolor.b = 0.13f;
|
||||
break;
|
||||
}
|
||||
|
||||
video_driver_get_size(&width, &height);
|
||||
|
Loading…
Reference in New Issue
Block a user