diff options
author | louis <louis.braun@gmx.de> | 2012-12-19 19:43:56 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2012-12-19 19:43:56 +0100 |
commit | 7c2a71393299eed572c1b4dfc2f35a7819e8843b (patch) | |
tree | 751f8c55e49f82ac291015d28924d3f235058fe7 /setup.c | |
parent | 7010739a062c660bbd88b612e1635068325acf3f (diff) | |
download | skin-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)); |