diff options
author | louis <louis.braun@gmx.de> | 2013-02-09 14:52:25 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-02-09 14:52:25 +0100 |
commit | 41767b6c7c9a4127e12d40d79259101d2ba6f8d6 (patch) | |
tree | bed980d900253c9051e030a2fd535c67b53d5329 /setup.c | |
parent | 599dd12e765eac556dd4302b31e2add429c3121e (diff) | |
download | skin-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.c | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -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)); |