diff options
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | displaymenu.c | 11 |
2 files changed, 14 insertions, 2 deletions
@@ -37,6 +37,11 @@ Die Logos müssen im folgenden Ordner zur Verfügung gestellt werden: Der Skin muss im Menü unter Einstellungen -> OSD ausgewählt werden. +TVScraper & scraper2vdr +------------ +Since version 0.3.0 the skin support TVScraper & scraper2vdr. +With both plugins you'll get poster, banner and actor images for recordings and epg info. +If You use scraper2vdr, which I recommend, you'll also get movie and series information. Themes and theme specific Icons ------------------------------- diff --git a/displaymenu.c b/displaymenu.c index d9330910..85d2d5a2 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -1314,15 +1314,22 @@ bool cFlatDisplayMenu::SetItemEvent(const cEvent *Event, int Index, bool Current Left += imageBGWidth + marginItem * 2; LeftSecond = Left; + cString channame; w = menuItemWidth / 10 * 2; + if( Config.MenuEventView == 2 || Config.MenuEventView == 3 ) { + channame = Channel->Name(); + w = font->Width(channame); + } else + channame = Channel->ShortName(true); + if( Channel->GroupSep() ) { int lineTop = Top + (fontHeight - 3) / 2; menuPixmap->DrawRectangle(cRect( Left, lineTop, menuItemWidth - Left, 3), ColorFg); Left += w / 2; - cString groupname = cString::sprintf(" %s ", Channel->ShortName(true)); + cString groupname = cString::sprintf(" %s ", *channame); menuPixmap->DrawText(cPoint(Left, Top), groupname, ColorFg, ColorBg, font, 0, 0, taCenter); } else - menuPixmap->DrawText(cPoint(Left, Top), Channel->ShortName(true), ColorFg, ColorBg, font, w); + menuPixmap->DrawText(cPoint(Left, Top), channame, ColorFg, ColorBg, font, w); Left += w + marginItem * 2; |