mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
(glui) Make the bottom icon inactive color be customizeable (currently
it's the same color as the scrollbar)
This commit is contained in:
parent
cc40d68e8b
commit
a13b07551c
@ -838,11 +838,14 @@ static void mui_frame(void *data)
|
|||||||
bool background_rendered = false;
|
bool background_rendered = false;
|
||||||
bool libretro_running = menu_display_libretro_running();
|
bool libretro_running = menu_display_libretro_running();
|
||||||
|
|
||||||
float *header_bg_color = NULL;
|
/* Default is blue theme */
|
||||||
float *highlighted_entry_color = NULL;
|
float *header_bg_color = blue_500;
|
||||||
float *footer_bg_color = NULL;
|
float *highlighted_entry_color = blue_50;
|
||||||
float *body_bg_color = NULL;
|
float *footer_bg_color = white_bg;
|
||||||
float *active_tab_marker_color = NULL;
|
float *body_bg_color = white_transp_bg;
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
float *active_tab_marker_color = blue_500;
|
||||||
|
float *passive_tab_icon_color = grey_bg;
|
||||||
|
|
||||||
uint32_t font_normal_color = 0;
|
uint32_t font_normal_color = 0;
|
||||||
uint32_t font_hover_color = 0;
|
uint32_t font_hover_color = 0;
|
||||||
@ -1114,7 +1117,7 @@ static void mui_frame(void *data)
|
|||||||
mui_draw_tab_begin(mui, width, height, &footer_bg_color[0], &grey_bg[0]);
|
mui_draw_tab_begin(mui, width, height, &footer_bg_color[0], &grey_bg[0]);
|
||||||
|
|
||||||
for (i = 0; i <= MUI_SYSTEM_TAB_END; i++)
|
for (i = 0; i <= MUI_SYSTEM_TAB_END; i++)
|
||||||
mui_draw_tab(mui, i, width, height, &pure_white[0], &active_tab_marker_color[0]);
|
mui_draw_tab(mui, i, width, height, &passive_tab_icon_color[0], &active_tab_marker_color[0]);
|
||||||
|
|
||||||
mui_draw_tab_end(mui, width, height, header_height, &active_tab_marker_color[0]);
|
mui_draw_tab_end(mui, width, height, header_height, &active_tab_marker_color[0]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user