neutrino usermenu: rework manage of usermenu name

TODO:
- fix handling of menu names on changed buttons in infoviewer
- fix handling in user menu setup, if no item was defined
...just to name a few

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2036 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 0db7df99bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-01-06 (Fri, 06 Jan 2012)

Origin message was:
------------------
*neutrino usermenu: rework manage of usermenu name

TODO:
- fix handling of menu names on changed buttons in infoviewer
- fix handling in user menu setup, if no item was defined
...just to name a few

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2036 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
2012-01-05 23:38:54 +00:00
parent c1313e147d
commit 6985fb75f2
9 changed files with 106 additions and 14 deletions

View File

@@ -33,6 +33,7 @@
#define __user_menue_setup__
#include <gui/widget/menue.h>
#include <system/settings.h>
#include <string>
@@ -63,14 +64,20 @@ const struct usermenu_props_t usermenu[USERMENU_ITEMS_COUNT] =
int width;
int max_char;
int button;
std::string pref_name;
neutrino_locale_t local;
int showSetup();
void checkItem();
void checkButtonItems();
void checkButtonName();
CMenuWidget * ums;
CMenuForwarder *mf;
public:
CUserMenuSetup(neutrino_locale_t menue_title, int menue_button);
~CUserMenuSetup();
int getUsedItemsCount();
int exec(CMenuTarget* parent, const std::string & actionKey);
};