From 524381d42110c07ee57a4c48d99be7b62a84a843 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 24 Jan 2010 10:20:49 +0000 Subject: [PATCH] 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: https://github.com/neutrino-images/ni-neutrino/commit/e27f666f80a03006327b516fb08c4f6114293d17 Author: Jacek Jendrzej Date: 2010-01-24 (Sun, 24 Jan 2010) ------------------ This commit was generated by Migit --- src/gui/epgview.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 79e1de4df..9f8554a3b 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -126,11 +126,12 @@ CEpgData::CEpgData() void CEpgData::start() { + topheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getHeight(); + 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 ); - topheight = g_Font[SNeutrinoSettings::FONT_TYPE_EPG_TITLE]->getHeight(); topboxheight = topheight + 6; if (topboxheight < PIC_H) topboxheight = PIC_H;