mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
use ENABLE_PIP for pip code
Origin commit data
------------------
Branch: ni/coolstream
Commit: cbfa6f88c5
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-05 (Tue, 05 Mar 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -778,18 +778,16 @@ int CChannelList::show()
|
||||
loop=false;
|
||||
}
|
||||
}
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
#ifdef ENABLE_PIP
|
||||
else if ( msg == CRCInput::RC_play) {
|
||||
if(SameTP() && CRecordManager::getInstance()->GetRecordMode(chanlist[selected]->channel_id) == CRecordManager::RECMODE_OFF) {
|
||||
if (CZapit::getInstance()->GetPipChannelID() == chanlist[selected]->getChannelID()) {
|
||||
CZapit::getInstance()->StopPip();
|
||||
paint();
|
||||
} else {
|
||||
if (CZapit::getInstance()->StartPip(chanlist[selected]->getChannelID()))
|
||||
paint();
|
||||
else
|
||||
if (!CZapit::getInstance()->StartPip(chanlist[selected]->getChannelID()))
|
||||
DisplayErrorMessage(g_Locale->getText(LOCALE_VIDEOMENU_PIP_ERROR));
|
||||
}
|
||||
paint();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -1876,7 +1874,7 @@ void CChannelList::paintItem(int pos)
|
||||
rec_icon = NEUTRINO_ICON_REC;
|
||||
else if (rec_mode & CRecordManager::RECMODE_TSHIFT)
|
||||
rec_icon = NEUTRINO_ICON_AUTO_SHIFT;
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
#ifdef ENABLE_PIP
|
||||
else if (chanlist[curr]->channel_id == CZapit::getInstance()->GetPipChannelID()) {
|
||||
int h;
|
||||
frameBuffer->getIconSize(NEUTRINO_ICON_PIP, &ChannelList_Rec, &h);
|
||||
|
Reference in New Issue
Block a user