channellist: use new marker icons

Origin commit data
------------------
Branch: ni/coolstream
Commit: 65b84b40d8
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)

Origin message was:
------------------
- channellist: use new marker icons

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2018-01-04 16:07:46 +01:00
parent fd30acd132
commit cc22b20c92

View File

@@ -1941,26 +1941,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;