mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
audioplayer: use NEUTRINO_ICON_AUDIO in header
Origin commit data
------------------
Branch: ni/coolstream
Commit: 563a4f5088
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-30 (Tue, 30 May 2017)
Origin message was:
------------------
- audioplayer: use NEUTRINO_ICON_AUDIO in header
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -263,7 +263,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); //NI
|
||||
m_theight = std::max(m_theight, ih+4);
|
||||
|
||||
m_title_height = m_fheight*2 + 20 + m_sheight + 4;
|
||||
@@ -1572,7 +1572,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); //NI
|
||||
header.setCorner(RADIUS_MID, CORNER_TOP);
|
||||
|
||||
if (m_inetmode)
|
||||
|
Reference in New Issue
Block a user