mirror of
https://github.com/libretro/RetroArch
synced 2025-02-11 15:40:28 +00:00
font-color: Use the settings for the color
This commit is contained in:
parent
f51994d7e3
commit
f96b285715
@ -731,6 +731,7 @@ static void xmb_draw_text(
|
|||||||
{
|
{
|
||||||
uint32_t color;
|
uint32_t color;
|
||||||
uint8_t a8;
|
uint8_t a8;
|
||||||
|
settings_t *settings;
|
||||||
|
|
||||||
if (alpha > xmb->alpha)
|
if (alpha > xmb->alpha)
|
||||||
alpha = xmb->alpha;
|
alpha = xmb->alpha;
|
||||||
@ -741,7 +742,11 @@ static void xmb_draw_text(
|
|||||||
if (a8 == 0)
|
if (a8 == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
color = FONT_COLOR_RGBA(xmb_font_color_red, xmb_font_color_green, xmb_font_color_blue, a8);
|
settings = config_get_ptr();
|
||||||
|
color = FONT_COLOR_RGBA(
|
||||||
|
settings->uints.menu_xmb_font_color_red,
|
||||||
|
settings->uints.menu_xmb_font_color_green,
|
||||||
|
settings->uints.menu_xmb_font_color_blue, a8);
|
||||||
|
|
||||||
menu_display_draw_text(font, str, x, y,
|
menu_display_draw_text(font, str, x, y,
|
||||||
width, height, color, text_align, scale_factor,
|
width, height, color, text_align, scale_factor,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user