CTimerList: add menu context button to header

Not to see that we have a possible submenu.
This commit is contained in:
2016-11-09 00:43:01 +01:00
parent 703caef3f6
commit 9eb9158c2f

View File

@@ -1372,8 +1372,8 @@ void CTimerList::paintItem(int pos)
void CTimerList::paintHead()
{
CComponentsHeaderLocalized header(x, y, width, theight, LOCALE_TIMERLIST_NAME, NEUTRINO_ICON_TIMER, CComponentsHeader::CC_BTN_EXIT, NULL, CC_SHADOW_ON);
header.enableClock(true, "%d.%m.%Y %H:%M");
CComponentsHeaderLocalized header(x, y, width, theight, 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");
header.paint(CC_SAVE_SCREEN_NO);
}