audioplayer: use NEUTRINO_ICON_AUDIO in header

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6c1d7eea59
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-07 (Wed, 07 Jun 2017)

Origin message was:
------------------
- audioplayer: use NEUTRINO_ICON_AUDIO in header

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-06-07 14:17:11 +02:00
committed by Michael Liebmann
parent bb6fe78e2b
commit 67f8ed5225

View File

@@ -261,7 +261,7 @@ 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_MP3, &iw, &ih);
m_frameBuffer->getIconSize(NEUTRINO_ICON_AUDIO, &iw, &ih);
m_theight = std::max(m_theight, ih+4);
m_title_height = m_fheight*2 + 20 + m_sheight + 4;
@@ -1536,7 +1536,7 @@ void CAudioPlayerGui::paintHead()
if (!m_show_playlist || m_screensaver)
return;
CComponentsHeaderLocalized header(m_x, m_y + m_title_height, m_width, m_theight, LOCALE_AUDIOPLAYER_HEAD, NEUTRINO_ICON_MP3);
CComponentsHeaderLocalized header(m_x, m_y + m_title_height, m_width, m_theight, LOCALE_AUDIOPLAYER_HEAD, NEUTRINO_ICON_AUDIO);
header.setCorner(RADIUS_MID, CORNER_TOP);
if (m_inetmode)