mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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
------------------
Branch: ni/coolstream
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 was generated by Migit
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user