mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
- simple_display: show scrambled icon on scrambled channels
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -65,6 +65,7 @@ typedef enum
|
||||
FP_ICON_FR,
|
||||
FP_ICON_FF,
|
||||
FP_ICON_DD,
|
||||
FP_ICON_SCRAMBLED,
|
||||
FP_ICON_LOCK
|
||||
} fp_icon;
|
||||
|
||||
|
@@ -155,6 +155,7 @@ class CVFD
|
||||
void Lock();
|
||||
void Unlock();
|
||||
void Clear();
|
||||
void UpdateIcons() { return; }
|
||||
void ShowIcon(fp_icon icon, bool show);
|
||||
void ShowText(const char *str);
|
||||
void ShowNumber(int number);
|
||||
|
Reference in New Issue
Block a user