summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2012-12-19 19:43:56 +0100
committerlouis <louis.braun@gmx.de>2012-12-19 19:43:56 +0100
commit7c2a71393299eed572c1b4dfc2f35a7819e8843b (patch)
tree751f8c55e49f82ac291015d28924d3f235058fe7 /setup.c
parent7010739a062c660bbd88b612e1635068325acf3f (diff)
downloadskin-nopacity-7c2a71393299eed572c1b4dfc2f35a7819e8843b.tar.gz
skin-nopacity-7c2a71393299eed572c1b4dfc2f35a7819e8843b.tar.bz2
Configurable display of disc usage and timers in main menu
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 2ac4212..88ea70b 100644
--- a/setup.c
+++ b/setup.c
@@ -100,6 +100,8 @@ void cNopacitySetup::Store(void) {
SetupStore("menuScrollSpeed", config.menuScrollSpeed);
SetupStore("menuWidthNarrow", config.menuWidthNarrow);
SetupStore("menuWidthRightItems", config.menuWidthRightItems);
+ SetupStore("showDiscUsage", config.showDiscUsage);
+ SetupStore("showTimers", config.showTimers);
SetupStore("headerHeight", config.headerHeight);
SetupStore("footerHeight", config.footerHeight);
SetupStore("numDefaultMenuItems", config.numDefaultMenuItems);
@@ -179,6 +181,8 @@ void cNopacitySetupMenuDisplay::Set(void) {
Add(new cMenuEditIntItem(tr("Number of reruns to display"), &tmpNopacityConfig->numReruns, 1, 10));
Add(new cMenuEditStraItem(tr("Use Subtitle for reruns"), &tmpNopacityConfig->useSubtitleRerun, 3, useSubtitleRerunTexts));
Add(new cMenuEditIntItem(tr("Width of narrow Menu Bar (Percent of OSD Width)"), &tmpNopacityConfig->menuWidthNarrow, 10, 100));
+ Add(new cMenuEditBoolItem(tr("Display Disk Usage"), &tmpNopacityConfig->showDiscUsage));
+ Add(new cMenuEditBoolItem(tr("Display Timers"), &tmpNopacityConfig->showTimers));
Add(new cMenuEditIntItem(tr("Width of Disc Usage and Timers Display (Percent of OSD Width)"), &tmpNopacityConfig->menuWidthRightItems, 10, 100));
Add(new cMenuEditIntItem(tr("Header Height (Percent of OSD Height)"), &tmpNopacityConfig->headerHeight, 0, 30));
Add(new cMenuEditIntItem(tr("Footer Height (Percent of OSD Height)"), &tmpNopacityConfig->footerHeight, 0, 30));