From 5e1f4a66f13194fb382029a654ad5a8befb978a8 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 23 Aug 2010 12:26:14 +0000 Subject: [PATCH] Fix OSD hide bug git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@738 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5737d59218268706de8e822d6c4a8240e97bc21f Author: [CST] Focus Date: 2010-08-23 (Mon, 23 Aug 2010) ------------------ This commit was generated by Migit --- src/gui/epgplus.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/epgplus.cpp b/src/gui/epgplus.cpp index 07dd7b902..3bd6f32e5 100644 --- a/src/gui/epgplus.cpp +++ b/src/gui/epgplus.cpp @@ -121,8 +121,8 @@ void EpgPlus::Header::paint(const char * Name) head += " "; head += Name; } - this->frameBuffer->paintBoxRel (this->x, this->y-2, this->width, this->font->getHeight()+2, COL_MENUHEAD_PLUS_0, RADIUS_LARGE, CORNER_TOP); - this->font->RenderString (this->x + 10, this->y + this->font->getHeight(), + this->frameBuffer->paintBoxRel (this->x, this->y, this->width, this->font->getHeight()+4, COL_MENUHEAD_PLUS_0, RADIUS_LARGE, CORNER_TOP); + this->font->RenderString (this->x + 10, this->y + this->font->getHeight() + 2, this->width - 20, head, COL_MENUHEAD, 0, true); //this->width - 20, g_Locale->getText (LOCALE_EPGPLUS_HEAD) , COL_MENUHEAD, 0, true); int icol_w, icol_h; @@ -133,7 +133,7 @@ void EpgPlus::Header::paint(const char * Name) int EpgPlus::Header::getUsedHeight() { - return font->getHeight(); + return font->getHeight() + 4 ; } Font *EpgPlus::TimeLine::fontTime = NULL;