summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-02-09 14:52:25 +0100
committerlouis <louis.braun@gmx.de>2013-02-09 14:52:25 +0100
commit41767b6c7c9a4127e12d40d79259101d2ba6f8d6 (patch)
treebed980d900253c9051e030a2fd535c67b53d5329 /setup.c
parent599dd12e765eac556dd4302b31e2add429c3121e (diff)
downloadskin-nopacity-41767b6c7c9a4127e12d40d79259101d2ba6f8d6.tar.gz
skin-nopacity-41767b6c7c9a4127e12d40d79259101d2ba6f8d6.tar.bz2
Usage of narrow menus (main, schedule, channel, recordings, settings) configurable via plugin setup
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/setup.c b/setup.c
index d2d4791..fe42533 100644
--- a/setup.c
+++ b/setup.c
@@ -99,6 +99,11 @@ void cNopacitySetup::Store(void) {
SetupStore("volumeBorderBottom", config.volumeBorderBottom);
SetupStore("fontVolume", config.fontVolume);
SetupStore("scalePicture", config.scalePicture);
+ SetupStore("narrowMainMenu", config.narrowMainMenu);
+ SetupStore("narrowScheduleMenu", config.narrowScheduleMenu);
+ SetupStore("narrowChannelMenu", config.narrowChannelMenu);
+ SetupStore("narrowRecordingMenu", config.narrowRecordingMenu);
+ SetupStore("narrowSetupMenu", config.narrowSetupMenu);
SetupStore("displayRerunsDetailEPGView", config.displayRerunsDetailEPGView);
SetupStore("numReruns", config.numReruns);
SetupStore("useSubtitleRerun", config.useSubtitleRerun);
@@ -204,11 +209,16 @@ void cNopacitySetupMenuDisplay::Set(void) {
int currentItem = Current();
Clear();
Add(new cMenuEditIntItem(tr("Number of Default Menu Entries per Page"), &tmpNopacityConfig->numDefaultMenuItems, 10, 40));
+ Add(new cMenuEditBoolItem(tr("Use narrow main menu"), &tmpNopacityConfig->narrowMainMenu));
+ Add(new cMenuEditBoolItem(tr("Use narrow schedules menu"), &tmpNopacityConfig->narrowScheduleMenu));
+ Add(new cMenuEditBoolItem(tr("Use narrow channel menu"), &tmpNopacityConfig->narrowChannelMenu));
+ Add(new cMenuEditBoolItem(tr("Use narrow recording menu"), &tmpNopacityConfig->narrowRecordingMenu));
+ Add(new cMenuEditBoolItem(tr("Use narrow setup menu"), &tmpNopacityConfig->narrowSetupMenu));
Add(new cMenuEditBoolItem(tr("Scale Video size to fit into menu window"), &tmpNopacityConfig->scalePicture));
Add(new cMenuEditIntItem(tr("Fade-In Time in ms (Zero for switching off fading)"), &tmpNopacityConfig->menuFadeTime, 0, 1000));
- Add(new cMenuEditBoolItem(tr("Display Disk Usage"), &tmpNopacityConfig->showDiscUsage));
- Add(new cMenuEditBoolItem(tr("Display Timers"), &tmpNopacityConfig->showTimers));
- Add(new cMenuEditBoolItem(tr("Show Timer Conflicts"), &tmpNopacityConfig->checkTimerConflict));
+ Add(new cMenuEditBoolItem(tr("Display Disk Usage in main menu"), &tmpNopacityConfig->showDiscUsage));
+ Add(new cMenuEditBoolItem(tr("Display Timers in main menu"), &tmpNopacityConfig->showTimers));
+ Add(new cMenuEditBoolItem(tr("Show Timer Conflicts in main menu"), &tmpNopacityConfig->checkTimerConflict));
Add(new cMenuEditStraItem(tr("Menu Items Scrolling Speed"), &tmpNopacityConfig->menuScrollSpeed, 4, scrollSpeed));
Add(new cMenuEditIntItem(tr("Menu Items Scrolling Delay in s"), &tmpNopacityConfig->menuScrollDelay, 0, 3));
Add(new cMenuEditIntItem(tr("EPG Window Fade-In Time in ms (Zero for switching off fading)"), &tmpNopacityConfig->menuEPGWindowFadeTime, 0, 1000));