mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
*neutrino menu: remove parameter 'mwidth' from widget constructor
Hope we don't need it anymore... *neutrino menu: remove select functions git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1909 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -52,7 +52,6 @@ extern cVideo *videoDecoder;
|
||||
CCECSetup::CCECSetup()
|
||||
{
|
||||
width = w_max (40, 10); //%
|
||||
selected = -1;
|
||||
}
|
||||
|
||||
CCECSetup::~CCECSetup()
|
||||
@@ -85,8 +84,7 @@ const CMenuOptionChooser::keyval VIDEOMENU_HDMI_CEC_MODE_OPTIONS[VIDEOMENU_HDMI_
|
||||
void CCECSetup::showMenu()
|
||||
{
|
||||
//menue init
|
||||
CMenuWidget *cec = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width, 576, MN_WIDGET_ID_CEC);
|
||||
cec->setSelected(selected);
|
||||
CMenuWidget *cec = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_CEC);
|
||||
cec->addIntroItems(LOCALE_VIDEOMENU_HDMI_CEC);
|
||||
|
||||
//cec
|
||||
@@ -102,7 +100,6 @@ void CCECSetup::showMenu()
|
||||
|
||||
cec->exec(NULL, "");
|
||||
cec->hide();
|
||||
selected = cec->getSelected();
|
||||
delete cec;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user