- epgview: depend window size on font size

This commit is contained in:
svenhoefer
2013-05-10 10:33:23 +02:00
parent 742cc81f46
commit df3d5567a1

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;