mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
change shadow color for blink ProgressBar
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@170 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -363,7 +363,11 @@ void CInfoViewer::showTitle (const int ChanNum, const std::string & Channel, con
|
||||
fileplay = (ChanNum == 0);
|
||||
newfreq = true;
|
||||
|
||||
sigscale->reset(); snrscale->reset(); timescale->reset(); hddscale->reset(); varscale->reset();
|
||||
sigscale->reset();
|
||||
snrscale->reset();
|
||||
timescale->reset();
|
||||
hddscale->reset();
|
||||
varscale->reset();
|
||||
lastsig = lastsnr = lasthdd = lastvar = -1;
|
||||
#if 0
|
||||
InfoHeightY = NUMBER_H * 9 / 8 + 2 * g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_INFO]->getHeight () + 25;
|
||||
@@ -1162,7 +1166,7 @@ void CInfoViewer::display_Info(const char *current, const char *next,
|
||||
if (pb_p > pb_w)
|
||||
pb_p = pb_w;
|
||||
timescale->paintProgressBar(BoxEndX - pb_w - SHADOW_OFFSET, BoxStartY + 12, pb_w, pb_h, pb_p, pb_w,
|
||||
0, 0, COL_INFOBAR_PLUS_0, COL_INFOBAR_SHADOW_PLUS_0, "", COL_INFOBAR);
|
||||
0, 0, pb_blink ? COL_INFOBAR_SHADOW_PLUS_0 : COL_INFOBAR_PLUS_0, COL_INFOBAR_SHADOW_PLUS_0, "", COL_INFOBAR);
|
||||
}
|
||||
|
||||
int currTimeW = 0;
|
||||
@@ -1551,37 +1555,47 @@ void CInfoViewer::paint_ca_icons(int caid, char * icon)
|
||||
|
||||
switch ( caid & 0xFF00 ) {
|
||||
case 0x0E00:
|
||||
px = endx - 48 - 38 - 9*10 - 7*14 - 10; sprintf(buf, "%s_%s.raw", "powervu", icon);
|
||||
px = endx - 48 - 38 - 9*10 - 7*14 - 10;
|
||||
sprintf(buf, "%s_%s.raw", "powervu", icon);
|
||||
break;
|
||||
case 0x4A00:
|
||||
px = endx - 48 - 38 - 8*10 - 6*14 - 10; sprintf(buf, "%s_%s.raw", "d", icon);
|
||||
px = endx - 48 - 38 - 8*10 - 6*14 - 10;
|
||||
sprintf(buf, "%s_%s.raw", "d", icon);
|
||||
break;
|
||||
case 0x2600:
|
||||
px = endx - 48 - 38 - 7*10 - 5*14 - 10; sprintf(buf, "%s_%s.raw", "biss", icon);
|
||||
px = endx - 48 - 38 - 7*10 - 5*14 - 10;
|
||||
sprintf(buf, "%s_%s.raw", "biss", icon);
|
||||
break;
|
||||
case 0x600:
|
||||
case 0x602:
|
||||
case 0x1700:
|
||||
px = endx - 48 - 38 - 6*10 - 4*14 - 10; sprintf(buf, "%s_%s.raw", "ird", icon);
|
||||
px = endx - 48 - 38 - 6*10 - 4*14 - 10;
|
||||
sprintf(buf, "%s_%s.raw", "ird", icon);
|
||||
break;
|
||||
case 0x100:
|
||||
px = endx - 48 - 38 - 5*10 - 4*14; sprintf(buf, "%s_%s.raw", "seca", icon);
|
||||
px = endx - 48 - 38 - 5*10 - 4*14;
|
||||
sprintf(buf, "%s_%s.raw", "seca", icon);
|
||||
break;
|
||||
case 0x500:
|
||||
px = endx - 48 - 38 - 4*10 - 3*14; sprintf(buf, "%s_%s.raw", "via", icon);
|
||||
px = endx - 48 - 38 - 4*10 - 3*14;
|
||||
sprintf(buf, "%s_%s.raw", "via", icon);
|
||||
break;
|
||||
case 0x1800:
|
||||
case 0x1801:
|
||||
px = endx - 48 - 38 - 3*10 - 2*14; sprintf(buf, "%s_%s.raw", "nagra", icon);
|
||||
px = endx - 48 - 38 - 3*10 - 2*14;
|
||||
sprintf(buf, "%s_%s.raw", "nagra", icon);
|
||||
break;
|
||||
case 0xB00:
|
||||
px = endx - 48 - 38 - 2*10 - 1*14; sprintf(buf, "%s_%s.raw", "conax", icon);
|
||||
px = endx - 48 - 38 - 2*10 - 1*14;
|
||||
sprintf(buf, "%s_%s.raw", "conax", icon);
|
||||
break;
|
||||
case 0xD00:
|
||||
px = endx - 48 - 38 - 1*10; sprintf(buf, "%s_%s.raw", "cw", icon);
|
||||
px = endx - 48 - 38 - 1*10;
|
||||
sprintf(buf, "%s_%s.raw", "cw", icon);
|
||||
break;
|
||||
case 0x900:
|
||||
px = endx - 48; sprintf(buf, "%s_%s.raw", "nds", icon);
|
||||
px = endx - 48;
|
||||
sprintf(buf, "%s_%s.raw", "nds", icon);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Reference in New Issue
Block a user