diff options
author | louis <louis.braun@gmx.de> | 2013-03-16 11:49:27 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-03-16 11:49:27 +0100 |
commit | 79e8190e5e613590e0c8332f476f4ed5cc4b4342 (patch) | |
tree | 5cc0b079c37c9bd3d9a093f9b9bb22cd66230bba /setup.c | |
parent | c9a59aca1a7669002aa24de714f4c332c9a46df9 (diff) | |
download | skin-nopacity-79e8190e5e613590e0c8332f476f4ed5cc4b4342.tar.gz skin-nopacity-79e8190e5e613590e0c8332f476f4ed5cc4b4342.tar.bz2 |
Title in VDR main menu configurable
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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)); |