summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 3b0926e9..db07c1e1 100644
--- a/setup.c
+++ b/setup.c
@@ -4,6 +4,7 @@ cStringList Bordertypes;
cStringList Progresstypes;
cStringList MenuChannelViews;
cStringList MenuTimerViews;
+cStringList MenuEventViews;
cFlatSetup::cFlatSetup(void) {
SetupConfig = Config;
@@ -50,6 +51,11 @@ void cFlatSetup::Setup(void) {
MenuTimerViews.Append( strdup(tr("flatPlus short")) );
MenuTimerViews.Append( strdup(tr("flatPlus short + EPG")) );
+ MenuEventViews.Append( strdup(tr("VDR default")) );
+ MenuEventViews.Append( strdup(tr("flatPlus long")) );
+ MenuEventViews.Append( strdup(tr("flatPlus short")) );
+ MenuEventViews.Append( strdup(tr("flatPlus short + EPG")) );
+
Add(new cOsdItem(tr("General settings"), osUnknown, true));
Add(new cOsdItem(tr("Channelinfo settings"), osUnknown, true));
Add(new cOsdItem(tr("Menu settings"), osUnknown, true));
@@ -160,6 +166,7 @@ void cFlatSetup::Store(void) {
SetupStore("MainMenuItemScale", dtoa(Config.MainMenuItemScale));
SetupStore("MenuChannelView", Config.MenuChannelView);
SetupStore("MenuTimerView", Config.MenuTimerView);
+ SetupStore("MenuEventView", Config.MenuEventView);
SetupStore("ChannelSimpleAspectFormat", Config.ChannelSimpleAspectFormat);
SetupStore("RecordingSimpleAspectFormat", Config.RecordingSimpleAspectFormat);
@@ -363,6 +370,7 @@ void cFlatSetupMenu::Setup(void) {
Add(new cMenuEditStraItem(tr("Menu channel view"), &SetupConfig->MenuChannelView, MenuChannelViews.Size(), &MenuChannelViews[0]));
Add(new cMenuEditStraItem(tr("Menu timer view"), &SetupConfig->MenuTimerView, MenuTimerViews.Size(), &MenuTimerViews[0]));
+ Add(new cMenuEditStraItem(tr("Menu event view"), &SetupConfig->MenuEventView, MenuEventViews.Size(), &MenuEventViews[0]));
Add(new cMenuEditBoolItem(tr("Menuitem border by decor-file?"), &SetupConfig->decorBorderMenuItemByTheme));
if( SetupConfig->decorBorderMenuItemByTheme ) {