diff options
author | louis <louis.braun@gmx.de> | 2013-08-24 09:29:00 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-08-24 09:29:00 +0200 |
commit | f5c2c9931818df5e20655e9e50cac4274185e85c (patch) | |
tree | e69139a23fb4a798a19be25700cebd120418d902 /textwindow.c | |
parent | 128a04a3039c5dffd08b29e97c9dd00625aa977d (diff) | |
download | skin-nopacity-f5c2c9931818df5e20655e9e50cac4274185e85c.tar.gz skin-nopacity-f5c2c9931818df5e20655e9e50cac4274185e85c.tar.bz2 |
fixed a bug that epg info is not displayed in schedules menu if fade in time is set to zero
Diffstat (limited to 'textwindow.c')
-rw-r--r-- | textwindow.c | 6 |
1 files changed, 4 insertions, 2 deletions
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(); } |