- eventlist: allow gradient/radius changes w/o neutrino restart

This commit is contained in:
svenhoefer
2016-11-11 00:25:25 +01:00
parent 00ad1ecd1c
commit c056b56d12

View File

@@ -848,11 +848,11 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
int font_mid = SNeutrinoSettings::FONT_TYPE_EVENTLIST_TITLE;
int font_lr = SNeutrinoSettings::FONT_TYPE_EVENTLIST_ITEMLARGE;
if (!header){
if (!header)
header = new CComponentsFrmChain(x, y, full_width, theight);
header->enableColBodyGradient(g_settings.theme.menu_Head_gradient, COL_MENUCONTENT_PLUS_0, g_settings.theme.menu_Head_gradient_direction);
header->setCorner(RADIUS_LARGE, CORNER_TOP);
}
header->clear();
int x_off = OFFSET_INNER_MID;