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:
2013-11-29 10:08:19 +01:00
parent 05cc6f18c1
commit 8a2185c32e

View File

@@ -259,6 +259,7 @@ void CInfoViewer::paintTime (bool show_dot)
clock->setCorner(RADIUS_LARGE, CORNER_TOP_RIGHT);
clock->doPaintBg(false);
}
clock->setColorBody(COL_INFOBAR_PLUS_0);
clock->setDimensionsAll(clock_x, clock_y, clock_w, clock_h);
clock->setClockFont(SNeutrinoSettings::FONT_TYPE_INFOBAR_CHANNAME);
clock->setClockFormat(show_dot ? "%H:%M" : "%H.%M");