diff options
author | louis <louis.braun@gmx.de> | 2013-03-02 15:31:10 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-03-02 15:31:10 +0100 |
commit | 4932c641ee7deb759eeb8c21840f6ed8db7f236d (patch) | |
tree | e6aa911501b7619cfa39b4b64e216d1cc3bcdfd9 /setup.c | |
parent | d099b5d5f922e6773ad5c5165e951fc280c5c5c1 (diff) | |
download | skin-nopacity-4932c641ee7deb759eeb8c21840f6ed8db7f236d.tar.gz skin-nopacity-4932c641ee7deb759eeb8c21840f6ed8db7f236d.tar.bz2 |
nOpacity mirrored
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -98,6 +98,7 @@ void cNopacitySetup::Store(void) { SetupStore("volumeHeight", config.volumeHeight); SetupStore("volumeBorderBottom", config.volumeBorderBottom); SetupStore("fontVolume", config.fontVolume); + SetupStore("menuAdjustLeft", config.menuAdjustLeft); SetupStore("scalePicture", config.scalePicture); SetupStore("roundedCorners", config.roundedCorners); SetupStore("cornerRadius", config.cornerRadius); @@ -204,6 +205,8 @@ eOSState cMenuSetupSubMenu::ProcessKey(eKeys Key) { //-----MenuDisplay Common Settings ------------------------------------------------------------------------------------------------------------- cNopacitySetupMenuDisplay::cNopacitySetupMenuDisplay(cNopacityConfig* data) : cMenuSetupSubMenu(tr("VDR Menu: Common Settings"), data) { + adjustLeft[0] = tr("right"); + adjustLeft[1] = tr("left"); useSubtitleRerunTexts[0] = tr("never"); useSubtitleRerunTexts[1] = tr("if exists"); useSubtitleRerunTexts[2] = tr("always"); @@ -218,6 +221,7 @@ void cNopacitySetupMenuDisplay::Set(void) { int currentItem = Current(); Clear(); Add(new cMenuEditIntItem(tr("Number of Default Menu Entries per Page"), &tmpNopacityConfig->numDefaultMenuItems, 10, 40)); + Add(new cMenuEditStraItem(tr("Adjustment of narrow menus"), &tmpNopacityConfig->menuAdjustLeft, 2, adjustLeft)); Add(new cMenuEditBoolItem(tr("Use narrow main menu"), &tmpNopacityConfig->narrowMainMenu)); Add(new cMenuEditBoolItem(tr("Use narrow schedules menu"), &tmpNopacityConfig->narrowScheduleMenu)); Add(new cMenuEditBoolItem(tr("Use narrow channel menu"), &tmpNopacityConfig->narrowChannelMenu)); |