dboxinfo.cpp: fix font rendering with some themes

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1739 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 4660584bdc
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-10-03 (Mon, 03 Oct 2011)

Origin message was:
------------------
- dboxinfo.cpp: fix font rendering with some themes

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1739 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
gixxpunk
2011-10-03 14:11:22 +00:00
parent f5d14337cd
commit 631aad4191

View File

@@ -455,7 +455,7 @@ void CDBoxInfoWidget::paint()
snprintf(ubuf, buf_size, "%4d%%", percent_used);
break;
}
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x + mpOffset, ypos+ mheight, width - 10, ubuf, rec_mp ? COL_MENUHEAD+2:COL_MENUCONTENT);
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x + mpOffset, ypos+ mheight, width - 10, ubuf, rec_mp ? COL_MENUCONTENTINACTIVE:COL_MENUCONTENT);
rec_mp = false;
}
int pbw = width - offsetw - 10;