mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +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:
@@ -705,7 +705,7 @@ void CPictureViewerGui::paintItem(int pos)
|
||||
|
||||
void CPictureViewerGui::paintHead()
|
||||
{
|
||||
CComponentsHeader header(x, y, width, theight, LOCALE_PICTUREVIEWER_HEAD, NEUTRINO_ICON_MP3, CComponentsHeader::CC_BTN_HELP);
|
||||
CComponentsHeaderLocalized header(x, y, width, theight, LOCALE_PICTUREVIEWER_HEAD, NEUTRINO_ICON_MP3, CComponentsHeaderLocalized::CC_BTN_HELP);
|
||||
|
||||
#ifdef ENABLE_GUI_MOUNT
|
||||
header.addButtonIcon(NEUTRINO_ICON_BUTTON_MENU);
|
||||
|
Reference in New Issue
Block a user