*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:
thilo
2011-11-25 23:48:30 +00:00
parent eff98c661e
commit 8b5857909b
19 changed files with 52 additions and 59 deletions

View File

@@ -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;
}