mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
fix for --enable-pip
Origin commit data
------------------
Commit: cb806cb745
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2023-10-04 (Wed, 04 Oct 2023)
This commit is contained in:
@@ -2044,9 +2044,9 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
else if (rec_mode & CRecordManager::RECMODE_TSHIFT)
|
||||
record_icon = NEUTRINO_ICON_MARKER_TIMESHIFT;
|
||||
|
||||
#if ENABLE_PIP
|
||||
//set pip icon
|
||||
const char *pip_icon = NULL;
|
||||
#if ENABLE_PIP
|
||||
if ((*chanlist)[curr]->getChannelID() == CZapit::getInstance()->GetPipChannelID())
|
||||
pip_icon = NEUTRINO_ICON_MARKER_PIP;
|
||||
#endif
|
||||
@@ -2124,6 +2124,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
}
|
||||
}
|
||||
|
||||
#if ENABLE_PIP
|
||||
if (pip_icon)
|
||||
{
|
||||
frameBuffer->getIconSize(pip_icon, &icon_w, &icon_h);
|
||||
@@ -2133,6 +2134,7 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
icon_x_right -= icon_w + OFFSET_INNER_MID;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (record_icon)
|
||||
{
|
||||
|
Reference in New Issue
Block a user