summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-03-16 11:49:27 +0100
committerlouis <louis.braun@gmx.de>2013-03-16 11:49:27 +0100
commit79e8190e5e613590e0c8332f476f4ed5cc4b4342 (patch)
tree5cc0b079c37c9bd3d9a093f9b9bb22cd66230bba /setup.c
parentc9a59aca1a7669002aa24de714f4c332c9a46df9 (diff)
downloadskin-nopacity-79e8190e5e613590e0c8332f476f4ed5cc4b4342.tar.gz
skin-nopacity-79e8190e5e613590e0c8332f476f4ed5cc4b4342.tar.bz2
Title in VDR main menu configurable
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index 6f079bd..f8398f9 100644
--- a/setup.c
+++ b/setup.c
@@ -113,6 +113,7 @@ void cNopacitySetup::Store(void) {
SetupStore("roundedCorners", config.roundedCorners);
SetupStore("cornerRadius", config.cornerRadius);
SetupStore("useMenuIcons", config.useMenuIcons);
+ SetupStore("mainMenuTitleStyle", config.mainMenuTitleStyle);
SetupStore("narrowMainMenu", config.narrowMainMenu);
SetupStore("narrowScheduleMenu", config.narrowScheduleMenu);
SetupStore("narrowChannelMenu", config.narrowChannelMenu);
@@ -259,6 +260,9 @@ void cNopacitySetupMenuDisplay::Set(void) {
//-----MenuDisplay Main and Setup Menu -------------------------------------------------------------------------------------------------------------
cNopacitySetupMenuDisplayMain::cNopacitySetupMenuDisplayMain(cNopacityConfig* data) : cMenuSetupSubMenu(tr("VDR Menu: Main and Setup Menu"), data) {
+ titleStyle[0] = tr("\"VDR\" plus VDR version");
+ titleStyle[1] = tr("only VDR version");
+ titleStyle[2] = tr("no title");
Set();
}
@@ -275,6 +279,7 @@ void cNopacitySetupMenuDisplayMain::Set(void) {
Add(new cMenuEditBoolItem(tr("Use menu icons"), &tmpNopacityConfig->useMenuIcons));
if (tmpNopacityConfig->useMenuIcons)
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Icon Size (Square)")), &tmpNopacityConfig->iconHeight, 30, 200));
+ Add(new cMenuEditStraItem(tr("Main menu title style"), &tmpNopacityConfig->mainMenuTitleStyle, 3, titleStyle));
Add(new cMenuEditBoolItem(tr("Display Disk Usage"), &tmpNopacityConfig->showDiscUsage));
if (tmpNopacityConfig->showDiscUsage) {
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Size (square, Percent of OSD Width)")), &tmpNopacityConfig->menuSizeDiskUsage, 2, 100));