diff options
author | louis <louis.braun@gmx.de> | 2013-02-17 11:57:44 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-02-17 11:57:44 +0100 |
commit | 498c2ad6c3e59784933960e3c7bb63c953f1a3d5 (patch) | |
tree | 816d805ba0a663ccfc60fe1a3545f49808db0a38 | |
parent | 52bfe28fa343ad6624f2653cefef4b280e5a67f4 (diff) | |
download | skin-nopacity-498c2ad6c3e59784933960e3c7bb63c953f1a3d5.tar.gz skin-nopacity-498c2ad6c3e59784933960e3c7bb63c953f1a3d5.tar.bz2 |
Fixed a bug with cdplayer plugin, this plugin calls no clear before showing menu
-rw-r--r-- | HISTORY | 6 | ||||
-rw-r--r-- | config.c | 2 | ||||
-rw-r--r-- | displaymenu.c | 6 | ||||
-rw-r--r-- | displaymenuview.c | 1 |
4 files changed, 14 insertions, 1 deletions
@@ -131,3 +131,9 @@ Version 0.0.7: and width also configurable) - Introduced rounded corners for menuitems and buttons configurable via plugin setup menu, corner radius also configurable. +- Display only active timers in main menu +- Support for remote timers in main menu timer display +- Display timer title in main menu also if no event is set for the timer +- Fixed a bug with cdplayer plugin, this plugin calls no "clear()" before + showing menu +- disabled fading for displaymenu per default @@ -67,7 +67,7 @@ cNopacityConfig::cNopacityConfig() { useSubtitleRerun = 1; displayAdditionalEPGPictures = 1; numAdditionalEPGPictures = 9; - menuFadeTime = 300; + menuFadeTime = 0; menuEPGWindowFadeTime = 300; menuWidthMain = 30; menuWidthSchedules = 30; diff --git a/displaymenu.c b/displaymenu.c index dc06c62..de8bdfb 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -267,6 +267,12 @@ void cNopacityDisplayMenu::SetMenuCategory(eMenuCategory MenuCategory) { } void cNopacityDisplayMenu::SetTitle(const char *Title) { + //resetting menuitems if no call to clear + if (!initMenu) { + initMenu = true; + menuItemIndexLast = -1; + menuItems.Clear(); + } int left = 5; menuView->DestroyHeaderIcon(); if (Title) { diff --git a/displaymenuview.c b/displaymenuview.c index a9435dc..c31c780 100644 --- a/displaymenuview.c +++ b/displaymenuview.c @@ -459,6 +459,7 @@ void cNopacityDisplayMenuView::AdjustContentBackground(eMenuCategory menuCat, eM } osd->DestroyPixmap(pixmapScrollbar); pixmapScrollbar = osd->CreatePixmap(2, cRect(contentWidth , headerHeight + spaceMenu, widthScrollbar, osdHeight - headerHeight - footerHeight - 2*spaceMenu)); + pixmapScrollbar->Fill(clrTransparent); } void cNopacityDisplayMenuView::DrawHeaderLogo(void) { |