mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CInfoViewer: add missing color type for time display
On changed theme colors, it's required to set the current color values otherwise the old values remain, this does not look so good.
This commit is contained in:
@@ -259,6 +259,7 @@ void CInfoViewer::paintTime (bool show_dot)
|
|||||||
clock->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
|
clock->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
|
||||||
clock->doPaintBg(false);
|
clock->doPaintBg(false);
|
||||||
}
|
}
|
||||||
|
clock->setColorBody(COL_INFOBAR_PLUS_0);
|
||||||
clock->setDimensionsAll(clock_x, clock_y, clock_w, clock_h);
|
clock->setDimensionsAll(clock_x, clock_y, clock_w, clock_h);
|
||||||
clock->setClockFont(SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME);
|
clock->setClockFont(SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME);
|
||||||
clock->setClockFormat(show_dot ? "%H:%M" : "%H.%M");
|
clock->setClockFormat(show_dot ? "%H:%M" : "%H.%M");
|
||||||
|
Reference in New Issue
Block a user