mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +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)
|
if (volume > 100)
|
||||||
volume = 100;
|
volume = 100;
|
||||||
|
|
||||||
|
ShowIcon(FP_ICON_MUTE, muted);
|
||||||
|
|
||||||
if (muted)
|
if (muted)
|
||||||
{
|
{
|
||||||
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
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);
|
SetIcons(SPARK_CLOCK, on);
|
||||||
proc_put("/proc/stb/lcd/symbol_timeshift", on);
|
proc_put("/proc/stb/lcd/symbol_timeshift", on);
|
||||||
break;
|
break;
|
||||||
|
case FP_ICON_MUTE:
|
||||||
|
proc_put("/proc/stb/lcd/symbol_mute", on);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user