mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
simple_display: show mute icon in muted mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: ec7403c060
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-17 (Fri, 17 Nov 2017)
Origin message was:
------------------
- simple_display: show mute icon in muted mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
------------------
This commit was generated by Migit
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