mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CComponentsHeader: rework constructors, add CComponentsHeaderLocalized
Member initVarHeader() now used with parameters, so it's possible to remove multiple code in constructors, but some class must be renamed to CComponentsHeaderLocalized.
This commit is contained in:
@@ -1579,7 +1579,7 @@ void CAudioPlayerGui::paintHead()
|
||||
if (!m_show_playlist || m_screensaver)
|
||||
return;
|
||||
|
||||
CComponentsHeader 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_MP3);
|
||||
header.setCorner(RADIUS_MID, CORNER_TOP);
|
||||
|
||||
if (m_inetmode)
|
||||
|
Reference in New Issue
Block a user