simple_display: show scrambled icon on scrambled channels

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6607f0bb9b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-17 (Fri, 17 Nov 2017)

Origin message was:
------------------
- simple_display: show scrambled icon on scrambled channels

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-17 22:18:07 +01:00
parent 30aca652bd
commit d18070c663
4 changed files with 9 additions and 0 deletions

View File

@@ -797,6 +797,7 @@ void CLCD::UpdateIcons()
{
ShowIcon(FP_ICON_HD,chan->isHD());
ShowIcon(FP_ICON_LOCK,!chan->camap.empty());
ShowIcon(FP_ICON_SCRAMBLED, chan->scrambled);
if (chan->getAudioChannel() != NULL)
{
ShowIcon(FP_ICON_DD, chan->getAudioChannel()->audioChannelType == CZapitAudioChannel::AC3);
@@ -874,6 +875,9 @@ void CLCD::ShowIcon(fp_icon i, bool on)
case FP_ICON_MUTE:
proc_put("/proc/stb/lcd/symbol_mute", on);
break;
case FP_ICON_SCRAMBLED:
proc_put("/proc/stb/lcd/symbol_scrambled", on);
break;
default:
break;
}