mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
neutrino user_menue_setup: add widget index to user menu setup menues
This helps to remember to last selected item in submenu
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1955 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: b38e7d70f3
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-12-07 (Wed, 07 Dec 2011)
Origin message was:
------------------
*neutrino user_menue_setup: add widget index to user menu setup menues
This helps to remember to last selected item in submenu
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1955 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
|
||||
#include <neutrino_menue.h>
|
||||
#include <gui/widget/icons.h>
|
||||
#include <gui/widget/stringinput.h>
|
||||
#include <gui/widget/keychooser.h>
|
||||
@@ -96,8 +96,9 @@ int CUserMenuSetup::exec(CMenuTarget* parent, const std::string &)
|
||||
|
||||
int CUserMenuSetup::showSetup()
|
||||
{
|
||||
CMenuWidget * ums = new CMenuWidget(local, NEUTRINO_ICON_KEYBINDING, width);
|
||||
|
||||
mn_widget_id_t widget_id = MN_WIDGET_ID_USERMENU_RED + button; //add up ''button'' and becomes to MN_WIDGET_ID_USERMENU_ GREEN, MN_WIDGET_ID_USERMENU_ YELLOW, MN_WIDGET_ID_USERMENU_BLUE
|
||||
CMenuWidget * ums = new CMenuWidget(local, NEUTRINO_ICON_KEYBINDING, width, widget_id);
|
||||
|
||||
//CUserMenuNotifier *notify = new CUserMenuNotifier();
|
||||
CStringInputSMS name(LOCALE_USERMENU_NAME, &g_settings.usermenu_text[button], 11, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzäöüß/- "/*, notify*/);
|
||||
|
||||
|
Reference in New Issue
Block a user