* 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:
Michael Liebmann
2013-05-13 04:30:36 +02:00
parent 1049b337bb
commit bf1c7bfdb7
9 changed files with 46 additions and 11 deletions

View File

@@ -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);
}