eventlist: use new record/timeshift/zap marker icons

Origin commit data
------------------
Commit: 33a35ed59c
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-01-04 (Thu, 04 Jan 2018)

Origin message was:
------------------
- eventlist: use new record/timeshift/zap marker icons
This commit is contained in:
vanhofen
2018-01-04 16:07:46 +01:00
parent 08d8a7799d
commit d1cd154ef7

View File

@@ -795,12 +795,12 @@ void CEventList::paintItem(unsigned int pos, t_channel_id channel_idI)
t_channel_id channel_tmp = m_showChannel ? evtlist[currpos].channelID : channel_idI;
int timerID = -1;
CTimerd::CTimerEventTypes etype = isScheduled(channel_tmp, &evtlist[currpos],&timerID);
const char * icontype = etype == CTimerd::TIMER_ZAPTO ? NEUTRINO_ICON_ZAP : 0;
const char * icontype = etype == CTimerd::TIMER_ZAPTO ? NEUTRINO_ICON_MARKER_ZAP : 0;
if(etype == CTimerd::TIMER_RECORD){
icontype = NEUTRINO_ICON_REC;// NEUTRINO_ICON_MARKER_RECORD
icontype = NEUTRINO_ICON_MARKER_RECORD;
}else{
if (timerID > 0 && CRecordManager::getInstance()->CheckRecordingId_if_Timeshift(timerID))
icontype = NEUTRINO_ICON_AUTO_SHIFT;
icontype = NEUTRINO_ICON_MARKER_TIMESHIFT;
}
int iw = 0, ih = 0;
if(icontype != 0) {