mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
- simple_display: show mute icon in muted mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -399,6 +399,8 @@ void CLCD::showVolume(const char vol, const bool update)
|
||||
if (volume > 100)
|
||||
volume = 100;
|
||||
|
||||
ShowIcon(FP_ICON_MUTE, muted);
|
||||
|
||||
if (muted)
|
||||
{
|
||||
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
||||
@@ -869,6 +871,9 @@ void CLCD::ShowIcon(fp_icon i, bool on)
|
||||
SetIcons(SPARK_CLOCK, on);
|
||||
proc_put("/proc/stb/lcd/symbol_timeshift", on);
|
||||
break;
|
||||
case FP_ICON_MUTE:
|
||||
proc_put("/proc/stb/lcd/symbol_mute", on);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user