From 4d91408700a3920e19f193f3a6e8d7000f1b600f Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 20 Mar 2015 17:00:00 +0100 Subject: added dedicated hor. and ver. viewelements for header, footer and time --- HISTORY | 3 ++- epggrid.c | 6 +++--- templates/plug-tvguideng-root.xml | 12 +++++++++--- tvguideng.c | 9 ++++++--- tvguidengosd.h | 9 ++++++--- 5 files changed, 26 insertions(+), 13 deletions(-) diff --git a/HISTORY b/HISTORY index af2b057..693ff58 100644 --- a/HISTORY +++ b/HISTORY @@ -13,5 +13,6 @@ Version 0.0.2 - fixed bug that recmenu was not hide when displaying detailed view in some cases - fixed translations - +- added dedicated hor. and ver. viewelements for header, + footer and time diff --git a/epggrid.c b/epggrid.c index f4dbcd7..7951eeb 100644 --- a/epggrid.c +++ b/epggrid.c @@ -17,9 +17,9 @@ cEpgGrid::cEpgGrid(cOsdView *rootView, cTimeManager *timeManager) { back = rootView->GetViewElement(config.displayMode == eHorizontal ? verBackgroundHor : verBackgroundVer); back->Display(); - header = rootView->GetViewElement(verHeader); - footer = rootView->GetViewElement(verFooter); - watch = rootView->GetViewElement(verTime); + header = rootView->GetViewElement(config.displayMode == eHorizontal ? verHeaderHor : verHeaderVer); + footer = rootView->GetViewElement(config.displayMode == eHorizontal ? verFooterHor : verFooterVer); + watch = rootView->GetViewElement(config.displayMode == eHorizontal ? verTimeHor : verTimeVer); channelsGrid = rootView->GetViewGrid(config.displayMode == eHorizontal ? vgChannelsHor : vgChannelsVer); epgGrid = rootView->GetViewGrid(config.displayMode == eHorizontal ? vgSchedulesHor : vgSchedulesVer); diff --git a/templates/plug-tvguideng-root.xml b/templates/plug-tvguideng-root.xml index 9e2c329..d87176a 100644 --- a/templates/plug-tvguideng-root.xml +++ b/templates/plug-tvguideng-root.xml @@ -35,9 +35,11 @@ {posterheight} height of scraped poster {posterpath} absolute path of scraped poster --> - + + + - + + + - + + +