mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
* Various changes for reworked mute icon handling in some classes
- mute icon disabled for moviebrowser, upnpbrowser, pictureviewer - extra handling for audioplayer
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <driver/fontrenderer.h>
|
||||
#include <driver/rcinput.h>
|
||||
|
||||
#include <gui/audiomute.h>
|
||||
#include <gui/nfs.h>
|
||||
|
||||
#include <gui/widget/buttons.h>
|
||||
@@ -238,6 +239,8 @@ int CPictureViewerGui::show()
|
||||
if (audioplayer)
|
||||
m_currentTitle = m_audioPlayer->getAudioPlayerM_current();
|
||||
|
||||
CAudioMute::getInstance()->enableMuteIcon(false);
|
||||
|
||||
while (loop)
|
||||
{
|
||||
if (update)
|
||||
@@ -618,6 +621,8 @@ int CPictureViewerGui::show()
|
||||
}
|
||||
hide();
|
||||
|
||||
CAudioMute::getInstance()->enableMuteIcon(true);
|
||||
|
||||
return(res);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user