mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsWindow: rework constructors, add CComponentsWindowMax
Member initVarWindow() now used with parameters, so it's possible to remove multiple code in constructors, but some class must be renamed to CComponentsWindowMax.
This commit is contained in:
@@ -181,7 +181,7 @@ void CImageInfo::ShowWindow()
|
||||
{
|
||||
CComponentsFooter *footer = NULL;
|
||||
if (cc_win == NULL){
|
||||
cc_win = new CComponentsWindow(LOCALE_IMAGEINFO_HEAD, NEUTRINO_ICON_INFO);
|
||||
cc_win = new CComponentsWindowMax(LOCALE_IMAGEINFO_HEAD, NEUTRINO_ICON_INFO);
|
||||
cc_win->setWindowHeaderButtons(CComponentsHeader::CC_BTN_MENU | CComponentsHeader::CC_BTN_EXIT);
|
||||
footer = cc_win->getFooterObject();
|
||||
footer->setColorBody(COL_INFOBAR_SHADOW_PLUS_1);
|
||||
|
Reference in New Issue
Block a user