From 49db9c4aa268ab1a5ff9bddec683221465d30e7a Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 8 Oct 2011 12:42:05 +0000 Subject: [PATCH] neutrino channellist: optimize space for rec icon relevant for userdefined icons patch by michabbg git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1754 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/a01ca5e1e3d0794b5dd1d966c21b9c90fe9fac13 Author: Thilo Graf Date: 2011-10-08 (Sat, 08 Oct 2011) Origin message was: ------------------ *neutrino channellist: optimize space for rec icon relevant for userdefined icons patch by michabbg git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1754 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/gui/channellist.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index f6a2e2c05..35cd6b6c0 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1891,6 +1891,8 @@ void CChannelList::paintItem(int pos) } else if (rec_mode == recmode_icon_min) ChannelList_Rec = w_min; } + if (ChannelList_Rec > 0) + ChannelList_Rec += 8; } //record check @@ -1918,7 +1920,7 @@ void CChannelList::paintItem(int pos) //paint recording icon //bool do_rec = CRecordManager::getInstance()->RecordingStatus(chanlist[curr]->channel_id); if (rec_mode != CRecordManager::RECMODE_OFF) - frameBuffer->paintIcon(rec_icon, r_icon_x - r_icon_w - 4, ypos, fheight);//ypos + (fheight - 16)/2); + frameBuffer->paintIcon(rec_icon, r_icon_x - r_icon_w, ypos, fheight);//ypos + (fheight - 16)/2); //paint buttons if (paintbuttons)