mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Conflicts:
src/gui/channellist.cpp
src/gui/epgview.cpp
src/gui/epgview.h
src/gui/eventlist.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3210b958a8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-03 (Wed, 03 May 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -443,8 +443,9 @@ int CChannelList::doChannelMenu(void)
|
||||
previous_channellist_additional = g_settings.channellist_additional;
|
||||
COsdSetup osd_setup;
|
||||
osd_setup.showContextChanlistMenu(this);
|
||||
//FIXME check font/options changed ?
|
||||
hide();
|
||||
ResetModules();
|
||||
//FIXME check font/options changed ?
|
||||
calcSize();
|
||||
ret = -1;
|
||||
}
|
||||
@@ -970,7 +971,11 @@ void CChannelList::hide()
|
||||
header->kill();
|
||||
|
||||
frameBuffer->paintBackground(); //NI clear whole screen
|
||||
clearItem2DetailsLine();
|
||||
|
||||
//remove details line
|
||||
if (dline)
|
||||
dline->kill();
|
||||
|
||||
CInfoClock::getInstance()->enableInfoClock(!CInfoClock::getInstance()->isBlocked());
|
||||
}
|
||||
|
||||
@@ -1652,12 +1657,6 @@ void CChannelList::clearItem2DetailsLine()
|
||||
|
||||
void CChannelList::paintItem2DetailsLine (int pos)
|
||||
{
|
||||
if (dline){
|
||||
dline->kill(); //kill details line
|
||||
delete dline;
|
||||
dline = NULL;
|
||||
}
|
||||
|
||||
if (!g_settings.channellist_show_infobox)
|
||||
return;
|
||||
|
||||
@@ -1667,9 +1666,15 @@ void CChannelList::paintItem2DetailsLine (int pos)
|
||||
|
||||
// paint Line if detail info (and not valid list pos)
|
||||
if (pos >= 0) {
|
||||
if (dline == NULL)
|
||||
if (!dline){
|
||||
dline = new CComponentsDetailsLine(xpos, ypos1, ypos2, fheight/2, info_height-RADIUS_LARGE*2);
|
||||
dline->paint(false);
|
||||
}else{
|
||||
dline->setPos(xpos, ypos1);
|
||||
dline->setYPosDown(ypos2);
|
||||
dline->setHMarkTop(fheight/2);
|
||||
dline->setHMarkDown(info_height-RADIUS_LARGE*2);
|
||||
}
|
||||
dline->paint();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user