diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-23 15:44:46 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-03-23 15:44:46 +0100 |
commit | 3a940d061c923ea509a3f632aee4674fd2315d37 (patch) | |
tree | 8b68a27ea7539c1e386ffa19f50648fcced83b6c | |
parent | 10f6d90f16835d0c534dca69fa8c32be37b53b8d (diff) | |
download | vdr-plugin-tvguide-3a940d061c923ea509a3f632aee4674fd2315d37.tar.gz vdr-plugin-tvguide-3a940d061c923ea509a3f632aee4674fd2315d37.tar.bz2 |
Center channel logos in favorite view
-rw-r--r-- | recmenuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recmenuitem.c b/recmenuitem.c index 6390381..dccf842 100644 --- a/recmenuitem.c +++ b/recmenuitem.c @@ -1831,7 +1831,7 @@ void cRecMenuItemEvent::Draw(void) { if (!tvguideConfig.hideChannelLogos) { if (imgLoader.LoadLogo(channel, logoWidth, height)) { cImage logo = imgLoader.GetImage(); - pixmapText->DrawImage(cPoint(logoX, 0), logo); + pixmapText->DrawImage(cPoint(logoX, (height - logo.Height()) / 2), logo); logoX += logoWidth + 5; } } |