reserve for head

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: e27f666f80
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-01-24 (Sun, 24 Jan 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-01-24 10:20:49 +00:00
parent ad91501a77
commit 524381d421

View File

@@ -126,11 +126,12 @@ CEpgData::CEpgData()
void CEpgData::start() void CEpgData::start()
{ {
topheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getHeight();
ox = w_max (MAX_W * (bigFonts ? BIG_FONT_FAKTOR : 1), 0); ox = w_max (MAX_W * (bigFonts ? BIG_FONT_FAKTOR : 1), 0);
oy = h_max (MAX_H * (bigFonts ? BIG_FONT_FAKTOR : 1), 0); oy = h_max (MAX_H * (bigFonts ? BIG_FONT_FAKTOR : 1), topheight*3);//reserve for head
sx = getScreenStartX( ox ); sx = getScreenStartX( ox );
topheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getHeight();
topboxheight = topheight + 6; topboxheight = topheight + 6;
if (topboxheight < PIC_H) topboxheight = PIC_H; if (topboxheight < PIC_H) topboxheight = PIC_H;