epgview: depend window size on font size

Origin commit data
------------------
Branch: ni/coolstream
Commit: df3d5567a1
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-10 (Fri, 10 May 2013)

Origin message was:
------------------
- epgview: depend window size on font size

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2013-05-10 10:33:23 +02:00
parent d3b6b0295d
commit 8f32bca5be

View File

@@ -117,8 +117,8 @@ CEpgData::CEpgData()
void CEpgData::start()
{
ox = frameBuffer->getScreenWidthRel();
oy = frameBuffer->getScreenHeightRel();
ox = frameBuffer->getScreenWidthRel(bigFonts ? false /* big */ : true /* small */);
oy = frameBuffer->getScreenHeightRel(bigFonts ? false /* big */ : true /* small */);
topheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getHeight();
topboxheight = topheight + 6;