mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
audioplayer.cpp: remove not working code with mute-icon handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: ed52353607
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-02-20 (Wed, 20 Feb 2013)
Origin message was:
------------------
- audioplayer.cpp: remove not working code with mute-icon handling
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -360,6 +360,9 @@ int CAudioPlayerGui::show()
|
||||
|
||||
int ret = menu_return::RETURN_REPAINT;
|
||||
|
||||
// clear whole screen
|
||||
m_frameBuffer->paintBackground();
|
||||
|
||||
CVFD::getInstance()->setMode(CVFD::MODE_AUDIO);
|
||||
paintLCD();
|
||||
|
||||
@@ -898,9 +901,6 @@ int CAudioPlayerGui::show()
|
||||
ret = menu_return::RETURN_EXIT_ALL;
|
||||
loop = false;
|
||||
}
|
||||
// update mute icon
|
||||
//paintHead();
|
||||
//paintLCD();
|
||||
}
|
||||
}
|
||||
hide();
|
||||
@@ -1669,20 +1669,6 @@ void CAudioPlayerGui::paintHead()
|
||||
}
|
||||
//m_frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_MENU, m_x + m_width - 30, ypos);
|
||||
#endif
|
||||
#if 1
|
||||
if ( CNeutrinoApp::getInstance()->isMuted() )
|
||||
{
|
||||
#if 0
|
||||
int xpos = m_x + m_width - 75;
|
||||
ypos = m_y + m_title_height;
|
||||
if (m_theight > 32)
|
||||
ypos = (m_theight - 32) / 2 + m_y + m_title_height;
|
||||
m_frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_MUTE, xpos, ypos);
|
||||
#endif
|
||||
m_frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_MUTE, &iw, &ih);
|
||||
m_frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_MUTE, xpos - iw, ypos, m_theight);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user