channellist now uses 75% of ScreenWidth as width and 80% of ScreenHeight as height

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@321 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6b5a84b950
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2010-02-12 (Fri, 12 Feb 2010)

Origin message was:
------------------
- channellist now uses 75% of ScreenWidth as width and 80% of ScreenHeight as height

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@321 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
gixxpunk
2010-02-12 09:31:05 +00:00
parent badd9c41e4
commit ab36ebda57

View File

@@ -442,8 +442,10 @@ int CChannelList::show()
//width = w_max (560, 0);
//height = h_max (420 + (1+3+16+3), 60);
width = w_max (((g_settings.channellist_extended)?720:660), 0);
height = h_max (450, 60);
//width = w_max (((g_settings.channellist_extended)?720:660), 0);
//height = h_max (450, 60);
width = w_max (((g_settings.channellist_extended)?(frameBuffer->getScreenWidth() / 20 * 15):(frameBuffer->getScreenWidth() / 20 * 14)), 0);
height = h_max ((frameBuffer->getScreenHeight() / 20 * 16), (frameBuffer->getScreenHeight() / 20 * 2));
if (chanlist.empty()) {
return res;