diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | textwindow.c | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -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(); } |