mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsHeader: rework context button handling
CComponentsHeader uses now CComponentsIconForm, which is now derived from CComponentsFrmChain. Some methods should be now simplified and allow to handle some modifications easier.
This commit is contained in:
@@ -709,7 +709,7 @@ void CPictureViewerGui::paintHead()
|
||||
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);
|
||||
header.setContextButton(NEUTRINO_ICON_BUTTON_MENU);
|
||||
#endif
|
||||
|
||||
header.paint(CC_SAVE_SCREEN_NO);
|
||||
|
Reference in New Issue
Block a user