Various changes for reworked mute icon handling in some classes

- mute icon disabled for moviebrowser, upnpbrowser, pictureviewer
- extra handling for audioplayer


Origin commit data
------------------
Branch: ni/coolstream
Commit: bf1c7bfdb7
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-13 (Mon, 13 May 2013)

Origin message was:
------------------
* Various changes for reworked mute icon handling in some classes

- mute icon disabled for moviebrowser, upnpbrowser, pictureviewer
- extra handling for audioplayer


------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-05-13 04:30:36 +02:00
parent c6e25fc5c4
commit 5235cec6d0
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);
}