mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Change channel icon size in cRecMenuSearchTimerEdit
This commit is contained in:
parent
6e83787437
commit
d1e5e240ec
@ -1988,9 +1988,9 @@ void cRecMenuItemChannelChooser::DrawValue(void) {
|
|||||||
int logoWidth = height * tvguideConfig.logoWidthRatio / tvguideConfig.logoHeightRatio;
|
int logoWidth = height * tvguideConfig.logoWidthRatio / tvguideConfig.logoHeightRatio;
|
||||||
int logoX = textX - logoWidth - 10;
|
int logoX = textX - logoWidth - 10;
|
||||||
cImageLoader imgLoader;
|
cImageLoader imgLoader;
|
||||||
if (imgLoader.LoadLogo(channel, logoWidth, height)) {
|
if (imgLoader.LoadLogo(channel, logoWidth, height - 10)) {
|
||||||
cImage logo = imgLoader.GetImage();
|
cImage logo = imgLoader.GetImage();
|
||||||
pixmapChannel->DrawImage(cPoint(logoX, 0), logo);
|
pixmapChannel->DrawImage(cPoint(logoX, 5), logo);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
cString textVal = tr("all Channels");
|
cString textVal = tr("all Channels");
|
||||||
|
Loading…
Reference in New Issue
Block a user