*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
This commit is contained in:
thilo
2011-10-08 12:42:05 +00:00
parent ccb9fceec7
commit a01ca5e1e3

View File

@@ -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)