- channellist: use new marker icons

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-01-05 00:52:58 +01:00
committed by Thilo Graf
parent c60eed0932
commit b8bb940445

View File

@@ -1918,26 +1918,26 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
//set recording icon //set recording icon
const char *record_icon = NULL; const char *record_icon = NULL;
if (rec_mode & CRecordManager::RECMODE_REC) if (rec_mode & CRecordManager::RECMODE_REC)
record_icon = NEUTRINO_ICON_REC; record_icon = NEUTRINO_ICON_MARKER_RECORD;
else if (rec_mode & CRecordManager::RECMODE_TSHIFT) else if (rec_mode & CRecordManager::RECMODE_TSHIFT)
record_icon = NEUTRINO_ICON_AUTO_SHIFT; record_icon = NEUTRINO_ICON_MARKER_TIMESHIFT;
//set pip icon //set pip icon
const char *pip_icon = NULL; const char *pip_icon = NULL;
#ifdef ENABLE_PIP #ifdef ENABLE_PIP
if ((*chanlist)[curr]->getChannelID() == CZapit::getInstance()->GetPipChannelID()) if ((*chanlist)[curr]->getChannelID() == CZapit::getInstance()->GetPipChannelID())
pip_icon = NEUTRINO_ICON_PIP; pip_icon = NEUTRINO_ICON_MARKER_PIP;
#endif #endif
//set webtv icon //set webtv icon
const char *webtv_icon = NULL; const char *webtv_icon = NULL;
if (!chan->getUrl().empty()) if (!chan->getUrl().empty())
webtv_icon = NEUTRINO_ICON_STREAMING; webtv_icon = NEUTRINO_ICON_MARKER_STREAMING;
//set scramble icon //set scramble icon
const char *scramble_icon = NULL; const char *scramble_icon = NULL;
if (chan->scrambled) if (chan->scrambled)
scramble_icon = NEUTRINO_ICON_SCRAMBLED; scramble_icon = NEUTRINO_ICON_MARKER_SCRAMBLED;
//calculate and paint right status icons //calculate and paint right status icons
int icon_w = 0; int icon_w = 0;