mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
-eventlist,epgview: add infoviewer bottom gradient style
Signed-off-by: Thilo Graf <dbt@novatux.de> review required
This commit is contained in:
@@ -869,7 +869,9 @@ int CEpgData::show(const t_channel_id channel_id, uint64_t a_id, time_t* a_start
|
|||||||
|
|
||||||
// small bottom box
|
// small bottom box
|
||||||
CComponentsFrmChain *Bottombox = new CComponentsFrmChain(sx, sy+oy-botboxheight, ox, botboxheight);
|
CComponentsFrmChain *Bottombox = new CComponentsFrmChain(sx, sy+oy-botboxheight, ox, botboxheight);
|
||||||
Bottombox->setColorBody(COL_MENUHEAD_PLUS_0);
|
Bottombox->setColorBody(COL_MENUFOOT_PLUS_0);
|
||||||
|
Bottombox->enableColBodyGradient(g_settings.theme.infobar_gradient_bottom,COL_MENUFOOT_PLUS_0,g_settings.theme.infobar_gradient_bottom_direction);
|
||||||
|
Bottombox->set2ndColor(COL_MENUCONTENT_PLUS_0);
|
||||||
|
|
||||||
if (!mp_info)
|
if (!mp_info)
|
||||||
{
|
{
|
||||||
|
@@ -886,7 +886,9 @@ void CEventList::paintBottomBox(std::string _channelname_prev, std::string _chan
|
|||||||
int side_width = ((full_width - mid_width) / 2) - (2 * x_off);
|
int side_width = ((full_width - mid_width) / 2) - (2 * x_off);
|
||||||
|
|
||||||
CComponentsFrmChain *Bottombox = new CComponentsFrmChain(x, by, full_width, botboxheight);
|
CComponentsFrmChain *Bottombox = new CComponentsFrmChain(x, by, full_width, botboxheight);
|
||||||
Bottombox->setColorBody(COL_MENUHEAD_PLUS_0);
|
Bottombox->setColorBody(COL_MENUFOOT_PLUS_0);
|
||||||
|
Bottombox->enableColBodyGradient(g_settings.theme.infobar_gradient_bottom,COL_MENUFOOT_PLUS_0,g_settings.theme.infobar_gradient_bottom_direction);
|
||||||
|
Bottombox->set2ndColor(COL_MENUCONTENT_PLUS_0);
|
||||||
|
|
||||||
if (!_channelname_prev.empty()) {
|
if (!_channelname_prev.empty()) {
|
||||||
CComponentsPictureScalable *lpic = new CComponentsPictureScalable(x_off,CC_CENTERED,NEUTRINO_ICON_BUTTON_LEFT,Bottombox);
|
CComponentsPictureScalable *lpic = new CComponentsPictureScalable(x_off,CC_CENTERED,NEUTRINO_ICON_BUTTON_LEFT,Bottombox);
|
||||||
|
Reference in New Issue
Block a user