-fix graphic

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@304 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-02-08 18:27:06 +00:00
parent 9f87f97094
commit b5534e8c84

View File

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