summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-04-13 10:41:51 +0200
committerlouis <louis.braun@gmx.de>2013-04-13 10:41:51 +0200
commit91c004390c528f8abea82f0a867d4e47cd14f996 (patch)
treecf782015896fb5fd6a9951a4a0a4f8a515ce64b3 /setup.c
parent7aad394c1037743817e41429e2eca7bd4319dae6 (diff)
downloadskin-nopacity-91c004390c528f8abea82f0a867d4e47cd14f996.tar.gz
skin-nopacity-91c004390c528f8abea82f0a867d4e47cd14f996.tar.bz2
added option auto for video scaling
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index 85f67fa..4ccf915 100644
--- a/setup.c
+++ b/setup.c
@@ -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));