From bfc68f7b653aa3da6076a129efc3a59b3009747b Mon Sep 17 00:00:00 2001 From: phintuka Date: Fri, 28 Mar 2008 22:17:17 +0000 Subject: =?UTF-8?q?HUD=20OSD=20configuration=20(Patch=20from=20Antti=20Sep?= =?UTF-8?q?p=C3=83=C2=A4l=C3=83=C2=A4=20and=20Rolf=20Ahrenberg)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup_menu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup_menu.c') 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); -- cgit v1.2.3