From e31d5fe21a4c16f336127cc03f34e704069dbd00 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Mon, 22 Jul 2013 18:25:02 +0200 Subject: [PATCH] streaminfo2: Fix text color of the signal bars - supplement to 221b6ee8b44045142dc9959ec79681260ca67b0b Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/7d1fd50cfb198c1bf22f13a8498c27b9b32a9dfc Author: Michael Liebmann Date: 2013-07-22 (Mon, 22 Jul 2013) ------------------ This commit was generated by Migit --- src/gui/streaminfo2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 7def6b751..983684298 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -920,8 +920,8 @@ void CStreamInfo2::showSNR () posx = posx + barwidth + 3; frameBuffer->paintBoxRel(posx, posy -1, sw, mheight-8, COL_MENUHEAD_PLUS_0); - g_Font[font_info]->RenderString (posx + 2, posy + mheight-5, sw, percent, COL_INFOBAR); - g_Font[font_info]->RenderString (posx + 2 + sw, posy + mheight-5, pw, "SIG", COL_INFOBAR); + g_Font[font_info]->RenderString (posx + 2, posy + mheight-5, sw, percent, COL_INFOBAR_TEXT); + g_Font[font_info]->RenderString (posx + 2 + sw, posy + mheight-5, pw, "SIG", COL_INFOBAR_TEXT); } if (lastsnr != snr) { lastsnr = snr; @@ -934,7 +934,7 @@ void CStreamInfo2::showSNR () posx = posx + barwidth + 3; frameBuffer->paintBoxRel(posx, posy - 1, sw, mheight-8, COL_MENUHEAD_PLUS_0, 0, true); - g_Font[font_info]->RenderString (posx + 2, posy + mheight-5, sw, percent, COL_INFOBAR, 0, true); - g_Font[font_info]->RenderString (posx + 2 + sw, posy + mheight-5, pw, "SNR", COL_INFOBAR, 0, true); + g_Font[font_info]->RenderString (posx + 2, posy + mheight-5, sw, percent, COL_INFOBAR_TEXT, 0, true); + g_Font[font_info]->RenderString (posx + 2 + sw, posy + mheight-5, pw, "SNR", COL_INFOBAR_TEXT, 0, true); } }