epgview: depend window size on font size

Origin commit data
------------------
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
This commit is contained in:
vanhofen
2013-05-10 10:33:23 +02:00
parent f549c03355
commit 09c0ef5602

View File

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