mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- audioplayer.cpp: remove not working code with mute-icon handling
This commit is contained in:
@@ -360,6 +360,9 @@ int CAudioPlayerGui::show()
|
|||||||
|
|
||||||
int ret = menu_return::RETURN_REPAINT;
|
int ret = menu_return::RETURN_REPAINT;
|
||||||
|
|
||||||
|
// clear whole screen
|
||||||
|
m_frameBuffer->paintBackground();
|
||||||
|
|
||||||
CVFD::getInstance()->setMode(CVFD::MODE_AUDIO);
|
CVFD::getInstance()->setMode(CVFD::MODE_AUDIO);
|
||||||
paintLCD();
|
paintLCD();
|
||||||
|
|
||||||
@@ -898,9 +901,6 @@ int CAudioPlayerGui::show()
|
|||||||
ret = menu_return::RETURN_EXIT_ALL;
|
ret = menu_return::RETURN_EXIT_ALL;
|
||||||
loop = false;
|
loop = false;
|
||||||
}
|
}
|
||||||
// update mute icon
|
|
||||||
//paintHead();
|
|
||||||
//paintLCD();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
hide();
|
hide();
|
||||||
@@ -1669,20 +1669,6 @@ void CAudioPlayerGui::paintHead()
|
|||||||
}
|
}
|
||||||
//m_frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_MENU, m_x + m_width - 30, ypos);
|
//m_frameBuffer->paintIcon(NEUTRINO_ICON_BUTTON_MENU, m_x + m_width - 30, ypos);
|
||||||
#endif
|
#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