mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +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:
@@ -40,7 +40,6 @@
|
||||
CZapitSetup::CZapitSetup()
|
||||
{
|
||||
width = w_max (40, 10); //%
|
||||
selected = -1;
|
||||
}
|
||||
|
||||
CZapitSetup::~CZapitSetup()
|
||||
@@ -64,8 +63,7 @@ int CZapitSetup::exec(CMenuTarget* parent, const std::string &/*actionKey*/)
|
||||
void CZapitSetup::showMenu()
|
||||
{
|
||||
//menue init
|
||||
CMenuWidget *zapit = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width, 576, MN_WIDGET_ID_ZAPIT);
|
||||
zapit->setSelected(selected);
|
||||
CMenuWidget *zapit = new CMenuWidget(LOCALE_MAINMENU_SETTINGS, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_ZAPIT);
|
||||
zapit->addIntroItems(LOCALE_ZAPITSETUP_INFO);
|
||||
|
||||
//zapit
|
||||
@@ -76,7 +74,6 @@ void CZapitSetup::showMenu()
|
||||
|
||||
zapit->exec(NULL, "");
|
||||
zapit->hide();
|
||||
selected = zapit->getSelected();
|
||||
delete zapit;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user