diff options
author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-05-30 15:29:26 +0200 |
---|---|---|
committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-05-30 15:29:26 +0200 |
commit | d1df12fb8218dce0b7c80c971447a9e0021f9ab3 (patch) | |
tree | fe2caa5f3e889b38a2e202d4e1b502ec929d4e83 /displaychannel.c | |
parent | f02c42ee02d523db40505a1271de7d35586bb422 (diff) | |
download | skin-flatplus-d1df12fb8218dce0b7c80c971447a9e0021f9ab3.tar.gz skin-flatplus-d1df12fb8218dce0b7c80c971447a9e0021f9ab3.tar.bz2 |
theme color clrChannelEPGBorderFg and clrChannelEPGBorderBg for border color of epg image in chanel info + decor option ChannelEPGBorderType and ChannelEPGBorderSize for border of epg image in chanel info
Diffstat (limited to 'displaychannel.c')
-rw-r--r-- | displaychannel.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/displaychannel.c b/displaychannel.c index b06ec3f7..c55077c2 100644 --- a/displaychannel.c +++ b/displaychannel.c @@ -54,10 +54,10 @@ cFlatDisplayChannel::cFlatDisplayChannel(bool WithInfo) { Config.decorBorderChannelSize+channelHeight - height, channelWidth, heightBottom)); chanIconsPixmap->Fill( clrTransparent ); - TVSLeft = 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; + TVSLeft = 20 + Config.decorBorderChannelEPGSize; + TVSTop = topBarHeight + Config.decorBorderTopBarSize*2 + 20 + Config.decorBorderChannelEPGSize; + TVSWidth = osdWidth - 40 - Config.decorBorderChannelEPGSize*2; + TVSHeight = osdHeight - topBarHeight - heightBottom - 40 - Config.decorBorderChannelEPGSize*2; chanEpgImagesPixmap = osd->CreatePixmap(2, cRect(TVSLeft, TVSTop, TVSWidth, TVSHeight)); chanEpgImagesPixmap->Fill( clrTransparent ); @@ -466,8 +466,8 @@ void cFlatDisplayChannel::SetEvents(const cEvent *Present, const cEvent *Followi if( img ) { chanEpgImagesPixmap->DrawImage(cPoint(0, 0), *img); - DecorBorderDraw(20 + Config.decorBorderChannelSize, topBarHeight + Config.decorBorderTopBarSize*2 + 20 + Config.decorBorderChannelSize, img->Width(), img->Height(), - Config.decorBorderChannelSize, Config.decorBorderChannelType, Config.decorBorderChannelFg, Config.decorBorderChannelBg, BorderTVSPoster); + DecorBorderDraw(20 + Config.decorBorderChannelEPGSize, topBarHeight + Config.decorBorderTopBarSize*2 + 20 + Config.decorBorderChannelEPGSize, img->Width(), img->Height(), + Config.decorBorderChannelEPGSize, Config.decorBorderChannelEPGType, Config.decorBorderChannelEPGFg, Config.decorBorderChannelEPGBg, BorderTVSPoster); } } } |