diff options
author | louis <louis.braun@gmx.de> | 2013-03-16 12:13:31 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-03-16 12:13:31 +0100 |
commit | 1e31f10fa68907104562b41fda09fe61485afdb0 (patch) | |
tree | b83707dc7088fec5cf367b9b76516b605403e46f /setup.c | |
parent | 79e8190e5e613590e0c8332f476f4ed5cc4b4342 (diff) | |
download | skin-nopacity-1e31f10fa68907104562b41fda09fe61485afdb0.tar.gz skin-nopacity-1e31f10fa68907104562b41fda09fe61485afdb0.tar.bz2 |
Maximum number of timers in main menu configurable
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -145,6 +145,7 @@ void cNopacitySetup::Store(void) { SetupStore("menuInfoScrollSpeed", config.menuInfoScrollSpeed); SetupStore("showDiscUsage", config.showDiscUsage); SetupStore("showTimers", config.showTimers); + SetupStore("numberTimers", config.numberTimers); SetupStore("checkTimerConflict", config.checkTimerConflict); SetupStore("headerHeight", config.headerHeight); SetupStore("footerHeight", config.footerHeight); @@ -288,6 +289,7 @@ void cNopacitySetupMenuDisplayMain::Set(void) { } Add(new cMenuEditBoolItem(tr("Display Timers"), &tmpNopacityConfig->showTimers)); if (tmpNopacityConfig->showTimers) { + Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Maximum number of Timers")), &tmpNopacityConfig->numberTimers, 1, 10)); Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Width of Timers (Percent of OSD Width)")), &tmpNopacityConfig->menuWidthRightItems, 5, 100)); Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Channel Logo Width")), &tmpNopacityConfig->timersLogoWidth, 30, 300)); Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Channel Logo Height")), &tmpNopacityConfig->timersLogoHeight, 30, 300)); |