mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- header-clocks: simplify calls
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -891,7 +891,7 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
|
||||
if (header == NULL){
|
||||
header = new CComponentsHeader();
|
||||
header->getTextObject()->enableTboxSaveScreen(g_settings.theme.menu_Head_gradient);//enable screen save for title text if color gradient is in use
|
||||
header->enableClock(true, "%H:%M", "%H %M", true);
|
||||
header->enableClock();
|
||||
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction);
|
||||
header->setDimensionsAll(x, y, full_width, header_height);
|
||||
header->enableShadow(CC_SHADOW_RIGHT | CC_SHADOW_CORNER_TOP_RIGHT | CC_SHADOW_CORNER_BOTTOM_RIGHT, -1, true);
|
||||
|
Reference in New Issue
Block a user