mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CComponentsFrmClock: Use blinking function for InfoClock & Channellist
Origin commit data
------------------
Branch: ni/coolstream
Commit: 713003aa84
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2122,7 +2122,8 @@ void CChannelList::paintHead()
|
||||
if (g_Sectionsd->getIsTimeSet()) {
|
||||
if (headerClock == NULL) {
|
||||
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);
|
||||
|
@@ -69,9 +69,10 @@ void CInfoClock::Init()
|
||||
|
||||
if (g_settings.infoClockSeconds)
|
||||
setClockFormat("%H:%M:%S");
|
||||
else
|
||||
else {
|
||||
setClockFormat("%H:%M");
|
||||
|
||||
setClockBlink("%H %M");
|
||||
}
|
||||
|
||||
int x_old = x, y_old = y, width_old = width, height_old = height;
|
||||
CVolumeHelper::getInstance()->refresh(cl_font);
|
||||
|
Reference in New Issue
Block a user