diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-05 14:58:19 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-06 14:27:36 +0200 |
commit | b6698ed70912b4b94bf4a9449e53e400037dc4cf (patch) | |
tree | bb26d8c553257b68103a81d36a62250e946eba4c /displaychannelview.c | |
parent | 988fb688bcb6d70ab20311b34409c5d6b17474b0 (diff) | |
download | skin-nopacity-b6698ed70912b4b94bf4a9449e53e400037dc4cf.tar.gz skin-nopacity-b6698ed70912b4b94bf4a9449e53e400037dc4cf.tar.bz2 |
Adding different SetAlpha
This can simplify the calls to SetAlpha.
Diffstat (limited to 'displaychannelview.c')
-rw-r--r-- | displaychannelview.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/displaychannelview.c b/displaychannelview.c index 2663aff..baf1c68 100644 --- a/displaychannelview.c +++ b/displaychannelview.c @@ -145,17 +145,7 @@ void cNopacityDisplayChannelView::CreatePixmaps(void) { ); if (config.GetValue("channelFadeTime")) { - pixmapBackground->SetAlpha(0); - pixmapTop->SetAlpha(0); - pixmapLogo->SetAlpha(0); - pixmapLogoBackground->SetAlpha(0); - pixmapChannelName->SetAlpha(0); - pixmapDate->SetAlpha(0); - pixmapProgressBar->SetAlpha(0); - pixmapEPGInfo->SetAlpha(0); - pixmapStatusIcons->SetAlpha(0); - pixmapStatusIconsBackground->SetAlpha(0); - pixmapSourceInfo->SetAlpha(0); + SetAlpha(0); } else { int alphaBack = (100 - config.GetValue("channelBackgroundTransparency"))*255/100; pixmapBackground->SetAlpha(alphaBack); |