summaryrefslogtreecommitdiff
path: root/imagecache.c
diff options
context:
space:
mode:
authorSoeren Moch <smoch@web.de>2022-05-20 23:13:32 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-05-21 10:42:34 +0200
commit9c8e8a2dd6c1414196d4d059252e43cada52eeb7 (patch)
tree07ff471bc85424b82631818a6366294c8ec0e6f3 /imagecache.c
parent71d2de77510586f92844eec970d2b453cbc8de7e (diff)
downloadskin-nopacity-9c8e8a2dd6c1414196d4d059252e43cada52eeb7.tar.gz
skin-nopacity-9c8e8a2dd6c1414196d4d059252e43cada52eeb7.tar.bz2
Align channel logo background
Use maximum logo space for background. So the logo background image is aligned to the menu background. The channel logo itself is usually smaller than the background due to scaling with preserved aspect ratio. So use separate geometry settings for logo and background. Signed-off-by: Soeren Moch <smoch@web.de>
Diffstat (limited to 'imagecache.c')
-rw-r--r--imagecache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imagecache.c b/imagecache.c
index b0b08dc..d336c5e 100644
--- a/imagecache.c
+++ b/imagecache.c
@@ -598,7 +598,7 @@ void cImageCache::CreateSkinElementsGraphics(void) {
std::string imgChannelLogoBack = "skinElements/channellogoback";
success = LoadIcon(ctSkinElement, imgChannelLogoBack);
if (success)
- InsertIntoSkinElementCache(seChannelLogoBack, geoManager->channelLogoWidth, geoManager->channelLogoHeight);
+ InsertIntoSkinElementCache(seChannelLogoBack, geoManager->channelLogoBgWidth, geoManager->channelLogoBgHeight);
//DisplayReplay Background and Foreground
std::string imgReplayBackground = "skinElements/displayreplayback";