remove never used volues

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2138 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2012-03-04 17:25:48 +00:00
parent cc2a4c4cef
commit 2591100c42
19 changed files with 44 additions and 56 deletions

View File

@@ -1221,7 +1221,8 @@ void CInfoViewer::killRadiotext()
void CInfoViewer::showRadiotext()
{
char stext[3][100];
int yoff = 8, ii = 0;
// int yoff = 8;
int ii = 0;
bool RTisIsUTF = false;
if (g_Radiotext == NULL) return;
@@ -1258,7 +1259,7 @@ void CInfoViewer::showRadiotext()
frameBuffer->paintBoxRel(rt_x, rt_y, rt_dx, rt_dy, COL_INFOBAR_PLUS_0, RADIUS_LARGE, CORNER_TOP);
g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->RenderString(rt_x+10, rt_y+ 30, rt_dx-20, stext[0], COL_INFOBAR, 0, RTisIsUTF); // UTF-8
}
yoff = 17;
// yoff = 17;
ii = 1;
#if 0
// RDS- or Rass-Symbol, ARec-Symbol or Bitrate
@@ -1554,14 +1555,13 @@ void CInfoViewer::showSNR ()
g_SignalFont->RenderString (3 + BoxStartX + ((ChanWidth - satNameWidth) / 2), BoxStartY + 2 * chanH - 3, satNameWidth, freq, COL_INFOBAR);
}
int sw, snr, sig, posx, posy;
int height, ChanNumYPos;
int height;
ssig = CFrontend::getInstance()->getSignalStrength();
ssnr = CFrontend::getInstance()->getSignalNoiseRatio();
sig = (ssig & 0xFFFF) * 100 / 65535;
snr = (ssnr & 0xFFFF) * 100 / 65535;
height = g_SignalFont->getHeight () - 1;
ChanNumYPos = BoxStartY + ChanHeight /*+ 4*/ - 2 * height;
if (lastsig != sig) {
lastsig = sig;