mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
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:
@@ -1107,6 +1107,12 @@ void CTimerList::paintItem(int pos)
|
|||||||
if (currpos < timerlist.size())
|
if (currpos < timerlist.size())
|
||||||
{
|
{
|
||||||
CTimerd::responseGetTimer & timer = timerlist[currpos];
|
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};
|
char zAlarmTime[25] = {0};
|
||||||
struct tm *alarmTime = localtime(&(timer.alarmTime));
|
struct tm *alarmTime = localtime(&(timer.alarmTime));
|
||||||
strftime(zAlarmTime,20,"%d.%m. %H:%M",alarmTime);
|
strftime(zAlarmTime,20,"%d.%m. %H:%M",alarmTime);
|
||||||
|
Reference in New Issue
Block a user