From f96b28571519a15b5e3033f2e3661fbca57b6f44 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Wed, 27 Dec 2017 16:38:36 -0500 Subject: [PATCH] font-color: Use the settings for the color --- menu/drivers/xmb.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 9cd62b6fe5..4be5d19f44 100755 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -731,6 +731,7 @@ static void xmb_draw_text( { uint32_t color; uint8_t a8; + settings_t *settings; if (alpha > xmb->alpha) alpha = xmb->alpha; @@ -741,7 +742,11 @@ static void xmb_draw_text( if (a8 == 0) 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, width, height, color, text_align, scale_factor,