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

Origin commit data
------------------
Branch: ni/coolstream
Commit: c056b56d12
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-11 (Fri, 11 Nov 2016)

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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-11-11 00:25:25 +01:00
parent b1d2a19a42
commit f2eb47b9fc

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;