CComponentsFrmClock: Use blinking function for InfoClock & Channellist

This commit is contained in:
M. Liebmann
2013-12-10 23:08:20 +01:00
parent 4f93850708
commit 713003aa84
2 changed files with 5 additions and 3 deletions

View File

@@ -2122,7 +2122,8 @@ void CChannelList::paintHead()
if (g_Sectionsd->getIsTimeSet()) { if (g_Sectionsd->getIsTimeSet()) {
if (headerClock == NULL) { if (headerClock == NULL) {
headerClock = new CComponentsFrmClock(0, 0, 0, 0, "%H:%M"); headerClock = new CComponentsFrmClock(0, 0, 0, 0, "%H:%M");
headerClock->setClockIntervall(10); headerClock->setClockBlink("%H %M");
headerClock->setClockIntervall(1);
} }
headerClock->setClockFont(SNeutrinoSettings::FONT_TYPE_MENU_TITLE); headerClock->setClockFont(SNeutrinoSettings::FONT_TYPE_MENU_TITLE);

View File

@@ -69,9 +69,10 @@ void CInfoClock::Init()
if (g_settings.infoClockSeconds) if (g_settings.infoClockSeconds)
setClockFormat("%H:%M:%S"); setClockFormat("%H:%M:%S");
else else {
setClockFormat("%H:%M"); setClockFormat("%H:%M");
setClockBlink("%H %M");
}
int x_old = x, y_old = y, width_old = width, height_old = height; int x_old = x, y_old = y, width_old = width, height_old = height;
CVolumeHelper::getInstance()->refresh(cl_font); CVolumeHelper::getInstance()->refresh(cl_font);