From f5c2c9931818df5e20655e9e50cac4274185e85c Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 24 Aug 2013 09:29:00 +0200 Subject: fixed a bug that epg info is not displayed in schedules menu if fade in time is set to zero --- HISTORY | 2 ++ textwindow.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 346b1bc..c97d440 100644 --- a/HISTORY +++ b/HISTORY @@ -227,3 +227,5 @@ Version 0.1.3 Version 0.1.4 - changed service interface for tvscraper - fixed an possible uninitialised variable in recordings menu +- fixed a bug that epg info is not displayed in schedules menu if fade + in is set to zero diff --git a/textwindow.c b/textwindow.c index 09d3da7..54dd49c 100644 --- a/textwindow.c +++ b/textwindow.c @@ -116,11 +116,13 @@ void cNopacityTextWindow::CreatePixmap(void) { pixmapBackground = osd->CreatePixmap(4, cRect(geometry->X()-1, geometry->Y()-1, geometry->Width()+2, geometry->Height()+2)); pixmap = osd->CreatePixmap(5, cRect(geometry->X(), geometry->Y(), geometry->Width(), geometry->Height()), cRect(0, 0, geometry->Width(), drawportHeight)); - pixmapBackground->SetAlpha(0); pixmapBackground->Fill(Theme.Color(clrMenuBorder)); pixmapBackground->DrawRectangle(cRect(1, 1, geometry->Width(), geometry->Height()), clrBlack); - pixmap->SetAlpha(0); pixmap->Fill(Theme.Color(clrMenuBack)); + if (config.menuEPGWindowFadeTime) { + pixmap->SetAlpha(0); + pixmapBackground->SetAlpha(0); + } cPixmap::Unlock(); } -- cgit v1.2.3