mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponentsFrmClock: Use blinking function for InfoClock & Channellist
This commit is contained in:
@@ -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);
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user