From 9f70bbf3cd68c12c913dbc84ed28f7d2f7430487 Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 14 Apr 2013 12:00:27 +0200 Subject: Added display of next Schedules in Channel Menu --- displaymenu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'displaymenu.c') diff --git a/displaymenu.c b/displaymenu.c index 26382f0..e99da16 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -469,13 +469,15 @@ bool cNopacityDisplayMenu::SetItemChannel(const cChannel *Channel, int Index, bo if (!config.narrowChannelMenu) return false; if ((initMenu)&&(Index > menuItemIndexLast)) { - cNopacityMenuItem *item = new cNopacityChannelMenuItem(osd, Channel, Selectable); + cNopacityMenuItem *item = new cNopacityChannelMenuItem(osd, Channel, Selectable, &videoWindowRect); cPoint itemSize; menuView->GetMenuItemSize(MenuCategory(), &itemSize); item->SetFont(menuView->GetMenuItemFont(mcChannel)); item->SetFontSmall(menuView->GetMenuItemFontSmall(mcChannel)); + item->SetFontEPGWindow(menuView->GetEPGWindowFont()); int spaceTop = menuView->GetMenuTop(currentNumItems, itemSize.Y()); item->SetGeometry(Index, spaceTop, menuView->GetMenuItemLeft(itemSize.X()), itemSize.X(), itemSize.Y(), menuView->spaceMenu); + item->SetTextWindow(menuView->GetDescriptionTextWindowSize(mcChannel)); item->SetCurrent(Current); item->SetBackgrounds(handleBackgrounds); item->CreateText(); -- cgit v1.2.3