mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
Audioplayer: Remove special handling for display mute icon
Origin commit data
------------------
Branch: ni/coolstream
Commit: bace5ce91b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-04 (Mon, 04 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -281,8 +281,6 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
m_fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
|
||||
|
||||
int iw, ih;
|
||||
m_frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_MUTE, &iw, &ih);
|
||||
m_theight = std::max(m_theight, ih+2);
|
||||
m_frameBuffer->getIconSize(NEUTRINO_ICON_MP3, &iw, &ih);
|
||||
m_theight = std::max(m_theight, ih+4);
|
||||
|
||||
@@ -901,8 +899,6 @@ int CAudioPlayerGui::show()
|
||||
ret = menu_return::RETURN_EXIT_ALL;
|
||||
loop = false;
|
||||
}
|
||||
// update mute icon
|
||||
paintHead();
|
||||
paintLCD();
|
||||
}
|
||||
}
|
||||
@@ -1650,9 +1646,6 @@ void CAudioPlayerGui::paintHead()
|
||||
if (m_inetmode)
|
||||
header.setCaption(LOCALE_INETRADIO_NAME);
|
||||
|
||||
if (CNeutrinoApp::getInstance()->isMuted())
|
||||
header.addButtonIcon(NEUTRINO_ICON_BUTTON_MUTE_SMALL);
|
||||
|
||||
#ifdef ENABLE_GUI_MOUNT
|
||||
if (!m_inetmode)
|
||||
header.addButtonIcon(NEUTRINO_ICON_BUTTON_MENU);
|
||||
|
Reference in New Issue
Block a user