summaryrefslogtreecommitdiff
path: root/setup_menu.c
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-03-28 22:17:17 +0000
committerphintuka <phintuka>2008-03-28 22:17:17 +0000
commitbfc68f7b653aa3da6076a129efc3a59b3009747b (patch)
tree351554f0ea02c43ff3bb667b5cfb15bc0b65bbf4 /setup_menu.c
parentb1b63256f26101ba1193ca38a037864f1dc69339 (diff)
downloadxineliboutput-bfc68f7b653aa3da6076a129efc3a59b3009747b.tar.gz
xineliboutput-bfc68f7b653aa3da6076a129efc3a59b3009747b.tar.bz2
HUD OSD configuration
(Patch from Antti Seppälä and Rolf Ahrenberg)
Diffstat (limited to 'setup_menu.c')
-rw-r--r--setup_menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup_menu.c b/setup_menu.c
index 3bb69e4b..2c5787bc 100644
--- a/setup_menu.c
+++ b/setup_menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: setup_menu.c,v 1.48 2008-03-13 22:19:33 phintuka Exp $
+ * $Id: setup_menu.c,v 1.49 2008-03-28 22:17:17 phintuka Exp $
*
*/
@@ -897,6 +897,9 @@ void cMenuSetupOSD::Set(void)
Add(NewTitle(tr("On-Screen Display")));
Add(new cMenuEditBoolItem(tr("Hide main menu"),
&newconfig.hide_main_menu));
+ Add(new cMenuEditStraI18nItem(tr("OSD scaling method"), &newconfig.osd_scaling,
+ OSD_SCALING_count, xc.s_osdScalings));
+
#if VDRVERSNUM >= 10509
Add(new cMenuEditStraI18nItem(tr("Show all layers"), &newconfig.osd_mixer,
OSD_MIXER_count, xc.s_osdMixers));
@@ -1002,6 +1005,7 @@ void cMenuSetupOSD::Store(void)
orig_alpha_correction = xc.alpha_correction;
orig_alpha_correction_abs = xc.alpha_correction_abs;
+ SetupStore("OSD.Scaling", xc.osd_scaling);
SetupStore("OSD.HideMainMenu", xc.hide_main_menu);
SetupStore("OSD.LayersVisible", xc.osd_mixer);
SetupStore("OSD.Prescale", xc.prescale_osd);