timerlist: mark remote timers with different text colors

Origin commit data
------------------
Branch: ni/coolstream
Commit: 23eb0168c1
Author: vanhofen <vanhofen@gmx.de>
Date: 2025-01-19 (Sun, 19 Jan 2025)

Origin message was:
------------------
- timerlist: mark remote timers with different text colors

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2025-01-19 21:42:16 +01:00
committed by Thilo Graf
parent bda8caf354
commit 0a129a081f

View File

@@ -1234,8 +1234,12 @@ void CTimerList::paintItem(int pos)
CTimerd::responseGetTimer &timer = timerlist[currpos];
if (timer.eventType == CTimerd::TIMER_REMOTEBOX)
{
// mark remote timers with different text colors
if (i_selected || i_marked)
color = COL_MENUCONTENTSELECTED_TEXT_PLUS_2;
else
color = COL_MENUCONTENTINACTIVE_TEXT;
bgcolor = COL_MENUCONTENTINACTIVE_PLUS_0;
}
char zAlarmTime[25] = {0};
struct tm *alarmTime = localtime(&(timer.alarmTime));