mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
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:
@@ -1234,8 +1234,12 @@ void CTimerList::paintItem(int pos)
|
|||||||
CTimerd::responseGetTimer &timer = timerlist[currpos];
|
CTimerd::responseGetTimer &timer = timerlist[currpos];
|
||||||
if (timer.eventType == CTimerd::TIMER_REMOTEBOX)
|
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;
|
color = COL_MENUCONTENTINACTIVE_TEXT;
|
||||||
bgcolor = COL_MENUCONTENTINACTIVE_PLUS_0;
|
|
||||||
}
|
}
|
||||||
char zAlarmTime[25] = {0};
|
char zAlarmTime[25] = {0};
|
||||||
struct tm *alarmTime = localtime(&(timer.alarmTime));
|
struct tm *alarmTime = localtime(&(timer.alarmTime));
|
||||||
|
Reference in New Issue
Block a user