- 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

@@ -1447,7 +1447,7 @@ void CTimerList::paintHead()
if (header == NULL)
{
header = new CComponentsHeader(x, y, width, header_height, LOCALE_TIMERLIST_NAME, NEUTRINO_ICON_TIMER, CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT, NULL, CC_SHADOW_ON);
header->enableClock(true, " %d.%m.%Y - %H:%M ", NULL, false);
header->enableClock(true, "%d.%m.%Y - %H:%M", "%d.%m.%Y - %H %M", true);
}
if (!header->isPainted())
header->paint(CC_SAVE_SCREEN_NO);