mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
OSD Menu: Add progressbar color
Signed-off-by: Thilo Graf <dbt@novatux.de> - themes/Makefile.am unchanged, build was broken - whitespace errors fixed - unnecessary comments removed - bump lua api version, was missed
This commit is contained in:
@@ -1659,8 +1659,8 @@ void CInfoViewer::showSNR ()
|
||||
sigbox = new CSignalBox(BoxStartX + sigbox_offset, y_numbox+ChanHeight/2, ChanWidth - 2*sigbox_offset, ChanHeight/2, NULL, true, NULL, "S", "Q");
|
||||
sigbox->setItemName("SIGBOX");
|
||||
sigbox->setTextColor(COL_INFOBAR_TEXT);
|
||||
sigbox->setActiveColor(COL_INFOBAR_PLUS_7);
|
||||
sigbox->setPassiveColor(COL_INFOBAR_PLUS_3);
|
||||
sigbox->setActiveColor(COL_PROGRESSBAR_ACTIVE_PLUS_0);
|
||||
sigbox->setPassiveColor(COL_PROGRESSBAR_PASSIVE_PLUS_0);
|
||||
sigbox->setColorBody(numbox->getColorBody());
|
||||
sigbox->doPaintBg(false);
|
||||
sigbox->enableTboxSaveScreen(numbox->getColBodyGradientMode());
|
||||
@@ -1749,8 +1749,8 @@ void CInfoViewer::display_Info(const char *current, const char *next,
|
||||
pb_p = pb_w;
|
||||
|
||||
timescale->setDimensionsAll(pb_startx, pb_starty, pb_w, pb_h);
|
||||
timescale->setActiveColor(COL_INFOBAR_PLUS_7);
|
||||
timescale->setPassiveColor(g_settings.infobar_progressbar ? COL_INFOBAR_PLUS_1 : COL_INFOBAR_PLUS_0);
|
||||
timescale->setActiveColor(COL_PROGRESSBAR_ACTIVE_PLUS_0);
|
||||
timescale->setPassiveColor(g_settings.infobar_progressbar ? COL_PROGRESSBAR_PASSIVE_PLUS_0 : COL_INFOBAR_PLUS_0);
|
||||
timescale->enableShadow(!g_settings.infobar_progressbar ? CC_SHADOW_ON : CC_SHADOW_OFF, OFFSET_SHADOW/2);
|
||||
timescale->setValues(pb_p, pb_w);
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user