timerlist: change colors for remote-timer (as requested by tewsbo)

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1e5a472748
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-29 (Sat, 29 Oct 2016)

Origin message was:
------------------
- timerlist: change colors for remote-timer (as requested by tewsbo)

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-10-29 17:16:23 +02:00
parent f7614da769
commit 96a45db4b2

View File

@@ -1107,6 +1107,12 @@ void CTimerList::paintItem(int pos)
if (currpos < timerlist.size())
{
CTimerd::responseGetTimer & timer = timerlist[currpos];
//NI
if (timer.eventType == CTimerd::TIMER_REMOTEBOX)
{
color = COL_MENUCONTENTINACTIVE_TEXT;
bgcolor = COL_MENUCONTENTINACTIVE_PLUS_0;
}
char zAlarmTime[25] = {0};
struct tm *alarmTime = localtime(&(timer.alarmTime));
strftime(zAlarmTime,20,"%d.%m. %H:%M",alarmTime);