diff options
author | louis <louis.braun@gmx.de> | 2013-04-13 10:41:51 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-04-13 10:41:51 +0200 |
commit | 91c004390c528f8abea82f0a867d4e47cd14f996 (patch) | |
tree | cf782015896fb5fd6a9951a4a0a4f8a515ce64b3 /setup.c | |
parent | 7aad394c1037743817e41429e2eca7bd4319dae6 (diff) | |
download | skin-nopacity-91c004390c528f8abea82f0a867d4e47cd14f996.tar.gz skin-nopacity-91c004390c528f8abea82f0a867d4e47cd14f996.tar.bz2 |
added option auto for video scaling
Diffstat (limited to 'setup.c')
-rw-r--r-- | setup.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -245,6 +245,9 @@ cNopacitySetupMenuDisplay::cNopacitySetupMenuDisplay(cNopacityConfig* data) : c scrollSpeed[1] = tr("slow"); scrollSpeed[2] = tr("medium"); scrollSpeed[3] = tr("fast"); + scalePic[0] = tr("no"); + scalePic[1] = tr("yes"); + scalePic[2] = tr("auto"); Set(); } @@ -254,7 +257,7 @@ void cNopacitySetupMenuDisplay::Set(void) { Add(new cMenuEditIntItem(tr("Number of Default Menu Entries per Page"), &tmpNopacityConfig->numDefaultMenuItems, 10, 40)); Add(new cMenuEditIntItem(tr("Adjust Font Size - Default Menu Item"), &tmpNopacityConfig->fontMenuitemDefault, -20, 20)); Add(new cMenuEditStraItem(tr("Adjustment of narrow menus"), &tmpNopacityConfig->menuAdjustLeft, 2, adjustLeft)); - Add(new cMenuEditBoolItem(tr("Scale Video size to fit into menu window"), &tmpNopacityConfig->scalePicture)); + Add(new cMenuEditStraItem(tr("Scale Video size to fit into menu window"), &tmpNopacityConfig->scalePicture, 3, scalePic)); Add(new cMenuEditIntItem(tr("Header Height (Percent of OSD Height)"), &tmpNopacityConfig->headerHeight, 5, 30)); Add(new cMenuEditIntItem(tr("Header Icon Size (Square Header Menu Icons)"), &tmpNopacityConfig->headerIconHeight, 30, 200)); Add(new cMenuEditIntItem(tr("Footer Height (Percent of OSD Height)"), &tmpNopacityConfig->footerHeight, 5, 30)); |