channellist.cpp: Show channel list vertically centered

Origin commit data
------------------
Branch: ni/coolstream
Commit: 91d76a9487
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-02-13 (Wed, 13 Feb 2013)

Origin message was:
------------------
* channellist.cpp: Show channel list vertically centered

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-02-13 23:31:12 +01:00
parent d1a7930db8
commit e98cad9904

View File

@@ -512,6 +512,7 @@ void CChannelList::calcSize()
listmaxshow = (height - theight - footerHeight -0)/fheight;
height = theight + footerHeight + listmaxshow * fheight;
info_height = 2*fheight + g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getHeight() + 10;
y += (frameBuffer->getScreenHeight() - height - info_height) / 2;
infozone_width = full_width - width;
pig_width = infozone_width;