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.


Origin commit data
------------------
Commit: 8a2185c32e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
This commit is contained in:
2013-11-29 10:08:19 +01:00
parent fd896cb6fd
commit 8e63deb93f

View File

@@ -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");