fix graphic

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: b5534e8c84
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-08 (Mon, 08 Feb 2010)

Origin message was:
------------------
-fix graphic

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


------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-02-08 18:27:06 +00:00
parent 030f4716ff
commit 686819392e

View File

@@ -413,9 +413,9 @@ void CStreamInfo2::SignalRenderStr(unsigned int value, int _x, int _y)
{
char str[30];
frameBuffer->paintBoxRel(_x, _y - sheight + 5, 60, sheight - 1, COL_MENUHEAD_PLUS_0);
frameBuffer->paintBoxRel(_x, _y - sheight + 5, 70, sheight - 1, COL_MENUHEAD_PLUS_0);
sprintf(str,"%6u",value);
g_Font[font_small]->RenderString(_x, _y + 5, 60, str, COL_MENUCONTENTDARK, 0, true);
g_Font[font_small]->RenderString(_x, _y + 5, 70, str, COL_MENUCONTENTDARK, 0, true);
}
void CStreamInfo2::paint (int /*mode*/)
@@ -596,7 +596,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
g_Font[font_info]->RenderString(xpos+spaceoffset, ypos, width*2/3-10, buf, COL_MENUCONTENTDARK, 0, true); // UTF-8
}
// paint labels
spaceoffset = 68;
spaceoffset = g_Font[font_info]->getRenderWidth("VTXTpid:");
//onid
ypos+= sheight;
@@ -800,7 +800,7 @@ void CStreamInfo2::showSNR ()
}
if (lastsnr != snr) {
lastsnr = snr;
posy = yypos + mheight + 4;
posy = yypos + mheight + 10;
posx = x + 10;
sprintf(percent, "%d%% SNR", snr);
sw = g_Font[font_info]->getRenderWidth (percent);