mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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
------------------
Branch: ni/coolstream
Commit: a01ca5e1e3
Author: Thilo Graf <dbt@novatux.de>
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
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user