diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-05-13 19:30:09 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-05-13 19:30:09 +0200 |
commit | 19235b742a8aa6b02cce98325945ca79e72feca1 (patch) | |
tree | 4395077339796ae1839021012cdad3dc93fdbdf1 /displaychannel.c | |
parent | b27f62896d0325e88cb0cef166fc2c3f05dc6705 (diff) | |
download | skin-flatplus-19235b742a8aa6b02cce98325945ca79e72feca1.tar.gz skin-flatplus-19235b742a8aa6b02cce98325945ca79e72feca1.tar.bz2 |
fix epg image position on channel info
Diffstat (limited to 'displaychannel.c')
-rw-r--r-- | displaychannel.c | 4 |
1 files 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); } } |