mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- cc_frm_header: remove CComponentsHeaderLocalized() subclass
use another constructor of CComponentsHeader() instead Signed-off-by: Thilo Graf <dbt@novatux.de> Good idea, this I had already in mind too.
This commit is contained in:
@@ -1380,7 +1380,7 @@ void CTimerList::paintHead()
|
||||
{
|
||||
if (header == NULL)
|
||||
{
|
||||
header = new CComponentsHeader(x, y, width, header_height, g_Locale->getText(LOCALE_TIMERLIST_NAME), NEUTRINO_ICON_TIMER, CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT, NULL, CC_SHADOW_ON);
|
||||
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->paint(CC_SAVE_SCREEN_NO);
|
||||
|
Reference in New Issue
Block a user