mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
*neutrino: port personalize feature from tuxbox
This is a partial port of original neutrino personalize feature and includes also moving of user menu settings from key setup into this setup, but it's not completley yet in some details and so I think it's a lot to do. I hope it works fine and the many user requests are justifying this feature. TODO: - doc into wiki - adapt for yWeb - some reworks for user menu settings and plugin management - add timer and rework tv radio mode switch item(s) and many more... please report: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/9565-diskussion-neutrino-goes-neutrinohd-welche-features-funktionen-aus-dem-tuxbox-cvs-%C3%BCbernehmen/ git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2010 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -31,20 +31,20 @@
|
||||
|
||||
#include <gui/widget/menue.h>
|
||||
#include "gui/audioplayer.h"
|
||||
#include "gui/personalize.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
class CMediaPlayerMenu : public CMenuTarget
|
||||
{
|
||||
private:
|
||||
int width, usage_mode;
|
||||
neutrino_locale_t menu_title;
|
||||
|
||||
CAudioPlayerGui *audioPlayer;
|
||||
CAudioPlayerGui *inetPlayer;
|
||||
|
||||
int width, usage_mode;
|
||||
neutrino_locale_t menu_title;
|
||||
|
||||
int showMenu();
|
||||
void showMoviePlayer(CMenuWidget *menu_movieplayer);
|
||||
void showMoviePlayer(CMenuWidget *menu_movieplayer, CPersonalizeGui *p);
|
||||
|
||||
public:
|
||||
enum MM_MENU_MODES
|
||||
@@ -58,6 +58,8 @@ class CMediaPlayerMenu : public CMenuTarget
|
||||
~CMediaPlayerMenu();
|
||||
static CMediaPlayerMenu* getInstance();
|
||||
|
||||
int initMenuMedia(CMenuWidget *m = NULL, CPersonalizeGui *p = NULL);
|
||||
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
void setMenuTitel(const neutrino_locale_t title = LOCALE_MAINMENU_MEDIA){menu_title = title;};
|
||||
void setUsageMode(const int& mm_mode = MODE_DEFAULT){usage_mode = mm_mode;};
|
||||
|
Reference in New Issue
Block a user