From 254aa488ee0dc4bffe287982cb76e17a6e738f16 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 5 Nov 2011 00:21:14 +0000 Subject: [PATCH] neutrino icons: add icon for tagged timer events This is the same icon like rec.png, but it's better to have a separat icon in case user is using own customized icons. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1815 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d11193ff6dad84d0e8060474d5eee5cd8470006e Author: Thilo Graf Date: 2011-11-05 (Sat, 05 Nov 2011) Origin message was: ------------------ *neutrino icons: add icon for tagged timer events This is the same icon like rec.png, but it's better to have a separat icon in case user is using own customized icons. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1815 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- data/icons/Makefile.am | 1 + data/icons/rec_event_marker.png | Bin 0 -> 681 bytes src/gui/eventlist.cpp | 2 +- src/gui/widget/icons.h | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 data/icons/rec_event_marker.png diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index 177ddefb3..9a4733a57 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -144,6 +144,7 @@ install_DATA = \ radiotextoff.png \ radiotextwait.png \ rec.png \ + rec_event_marker.png \ rec_gray.png \ recording.png \ res_000.png \ diff --git a/data/icons/rec_event_marker.png b/data/icons/rec_event_marker.png new file mode 100644 index 0000000000000000000000000000000000000000..73eee96f8ec28bacfb8bd4d66bc9fd09f96606e1 GIT binary patch literal 681 zcmV;a0#^NrP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2ipq+ z2_-pcZ@bd~00JpVL_t(I%e|FPYZE~j#((p=de9p8&=Sfv*&>3cUIam`Ld*xK2#psn zdi5aqF_dD&FCd6`u!4U+K#7!qr(SX>LQJjeP_PbF7w%Ir<$cZ4p!q(PXpaXROh0&|&=?Xv)ieL`7 z4)73209K-?={JVY0WC{i(iIJlANhU zQL`3Bi>Wb`v|e_nb9x32PAEeROIjE0gsP24w P00000NkvXXu0mjfN**;X literal 0 HcmV?d00001 diff --git a/src/gui/eventlist.cpp b/src/gui/eventlist.cpp index 867ce365c..6237ac2e3 100644 --- a/src/gui/eventlist.cpp +++ b/src/gui/eventlist.cpp @@ -804,7 +804,7 @@ void EventList::paintItem(unsigned int pos, t_channel_id channel_idI) // 2nd line // set status icons CTimerd::CTimerEventTypes etype = isScheduled(channel_idI, &evtlist[curpos]); - icontype = etype == CTimerd::TIMER_ZAPTO ? NEUTRINO_ICON_ZAP : etype == CTimerd::TIMER_RECORD ? NEUTRINO_ICON_REC : 0; + icontype = etype == CTimerd::TIMER_ZAPTO ? NEUTRINO_ICON_ZAP : etype == CTimerd::TIMER_RECORD ? NEUTRINO_ICON_RECORDING_EVENT_MARKER : 0; int iw = 0, ih; if(icontype != 0) { diff --git a/src/gui/widget/icons.h b/src/gui/widget/icons.h index c758fb9d9..b691b9148 100644 --- a/src/gui/widget/icons.h +++ b/src/gui/widget/icons.h @@ -153,6 +153,7 @@ #define NEUTRINO_ICON_RESOLUTION_000 "res_000" #define NEUTRINO_ICON_RESOLUTION_HD "res_hd" #define NEUTRINO_ICON_RESOLUTION_SD "res_sd" +#define NEUTRINO_ICON_RECORDING_EVENT_MARKER "rec_event_marker" #define NEUTRINO_ICON_ZAP "zap" #define DUMMY_ICON "dummy"