- header-clocks: simplify calls

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2022-04-30 16:31:45 +02:00
committed by Thilo Graf
parent 9a98b259c0
commit 09764568ef
6 changed files with 7 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ void EpgPlus::Header::paint(const char *Name)
{
this->head = new CComponentsHeader();
this->head->setContextButton(CComponentsHeader::CC_BTN_HELP | CComponentsHeader::CC_BTN_EXIT);
this->head->enableClock(true, "%H:%M", "%H %M", true);
this->head->enableClock();
this->head->enableShadow(CC_SHADOW_RIGHT | CC_SHADOW_CORNER_TOP_RIGHT | CC_SHADOW_CORNER_BOTTOM_RIGHT, -1, true);
}