From 19235b742a8aa6b02cce98325945ca79e72feca1 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Tue, 13 May 2014 19:30:09 +0200 Subject: fix epg image position on channel info --- displaychannel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/displaychannel.c b/displaychannel.c index 9e51ca5c..1301efcb 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -55,7 +55,7 @@ cFlatDisplayChannel::cFlatDisplayChannel(bool WithInfo) { chanIconsPixmap->Fill( clrTransparent ); TVSLeft = 20 + Config.decorBorderChannelSize; - TVSTop = topBarHeight + 20 + Config.decorBorderChannelSize; + TVSTop = topBarHeight + Config.decorBorderTopBarSize*2 + 20 + Config.decorBorderChannelSize; TVSWidth = osdWidth - 40 - Config.decorBorderChannelSize*2; TVSHeight = osdHeight - topBarHeight - heightBottom - 40 - Config.decorBorderChannelSize*2; @@ -477,7 +477,7 @@ void cFlatDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Followi if( img ) { chanEpgImagesPixmap->DrawImage(cPoint(0, 0), *img); - DecorBorderDraw(20 + Config.decorBorderChannelSize, topBarHeight + 20 + Config.decorBorderChannelSize, img->Width(), img->Height(), + DecorBorderDraw(20 + Config.decorBorderChannelSize, topBarHeight + Config.decorBorderTopBarSize*2 + 20 + Config.decorBorderChannelSize, img->Width(), img->Height(), Config.decorBorderChannelSize, Config.decorBorderChannelType, Config.decorBorderChannelFg, Config.decorBorderChannelBg, BorderTVSPoster); } } -- cgit v1.2.3