mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8b5857909b
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-11-26 (Sat, 26 Nov 2011)
Origin message was:
------------------
*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 was generated by Migit
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