mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -1941,26 +1941,26 @@ void CChannelList::paintItem(int pos, const bool firstpaint)
|
||||
//set recording icon
|
||||
const char *record_icon = NULL;
|
||||
if (rec_mode & CRecordManager::RECMODE_REC)
|
||||
record_icon = NEUTRINO_ICON_REC;
|
||||
record_icon = NEUTRINO_ICON_MARKER_RECORD;
|
||||
else if (rec_mode & CRecordManager::RECMODE_TSHIFT)
|
||||
record_icon = NEUTRINO_ICON_AUTO_SHIFT;
|
||||
record_icon = NEUTRINO_ICON_MARKER_TIMESHIFT;
|
||||
|
||||
//set pip icon
|
||||
const char *pip_icon = NULL;
|
||||
#ifdef ENABLE_PIP
|
||||
if ((*chanlist)[curr]->getChannelID() == CZapit::getInstance()->GetPipChannelID())
|
||||
pip_icon = NEUTRINO_ICON_PIP;
|
||||
pip_icon = NEUTRINO_ICON_MARKER_PIP;
|
||||
#endif
|
||||
|
||||
//set webtv icon
|
||||
const char *webtv_icon = NULL;
|
||||
if (!chan->getUrl().empty())
|
||||
webtv_icon = NEUTRINO_ICON_STREAMING;
|
||||
webtv_icon = NEUTRINO_ICON_MARKER_STREAMING;
|
||||
|
||||
//set scramble icon
|
||||
const char *scramble_icon = NULL;
|
||||
if (chan->scrambled)
|
||||
scramble_icon = NEUTRINO_ICON_SCRAMBLED;
|
||||
scramble_icon = NEUTRINO_ICON_MARKER_SCRAMBLED;
|
||||
|
||||
//calculate and paint right status icons
|
||||
int icon_w = 0;
|
||||
|
Reference in New Issue
Block a user