header-clocks: simplify calls

Origin commit data
------------------
Branch: ni/coolstream
Commit: abf210605e
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-04-30 (Sat, 30 Apr 2022)

Origin message was:
------------------
- header-clocks: simplify calls

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-04-30 16:31:45 +02:00
parent 84b18651ad
commit 6e35944d60
6 changed files with 7 additions and 7 deletions

View File

@@ -915,7 +915,7 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
header = new CComponentsHeader();
header->setColorBody(COL_MENUHEAD_PLUS_0);
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction);
header->enableClock(true, "%H:%M", "%H %M", true);
header->enableClock();
header->getClockObject()->enableForceSegmentPaint();
}