header-clocks: simplify calls

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

Origin message was:
------------------
- header-clocks: simplify calls
This commit is contained in:
vanhofen
2022-04-30 16:31:45 +02:00
parent 957f09ea89
commit 80a696dbfa
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);
}