From 00c32ae2173c22f7c3aa4ac1f432487c0110138e Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 11 Jan 2013 21:32:48 +0000 Subject: [PATCH] WinGui: Couple of minor UI tweaks and new tooltips. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5166 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Properties/Resources.Designer.cs | 26 +++++++++++++++++++ win/CS/HandBrakeWPF/Properties/Resources.resx | 14 ++++++++++ win/CS/HandBrakeWPF/Views/AddPresetView.xaml | 20 ++++++++++---- win/CS/HandBrakeWPF/Views/AdvancedView.xaml | 14 +++++++++- win/CS/HandBrakeWPF/Views/FiltersView.xaml | 2 +- 5 files changed, 69 insertions(+), 7 deletions(-) diff --git a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs index b1a31d882..3b5ef0e3c 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs @@ -60,6 +60,21 @@ namespace HandBrakeWPF.Properties { } } + /// + /// Looks up a localized string similar to You can optionally store a maximum resolution for encodes that use this preset. There are 3 modes: + /// + ///None: There is no maximum resolution for encodes using this preset. They will always use the source resolution minus any cropping that may be applied. + /// + ///Custom: You can optionally set a Maximum width and height. When doing this an encode will be less than or equal to these values. + /// + ///Source Maximum: Similar to custom, but the resolution of your current source is used as the Max width and Height values in [rest of string was truncated]";. + /// + public static string AddPreset_PictureSizeMode { + get { + return ResourceManager.GetString("AddPreset_PictureSizeMode", resourceCulture); + } + } + /// /// Looks up a localized string similar to x264 has a variety of algorithms to decide when to use B-frames and how many to use. /// @@ -152,6 +167,17 @@ namespace HandBrakeWPF.Properties { } } + /// + /// Looks up a localized string similar to The options passed to the x264 encoder. + ///The above controls are only a subset of useful x264 parameters. + ///This box allows you to add or modify additional or current parameters as desired. . + /// + public static string Advanced_EncoderOptions { + get { + return ResourceManager.GetString("Advanced_EncoderOptions", resourceCulture); + } + } + /// /// Looks up a localized string similar to Controls the motion estimation method. Motion estimation is how the encoder estimates how each block of pixels in a frame has moved. ///A better motion search method improves compression at the cost of speed. diff --git a/win/CS/HandBrakeWPF/Properties/Resources.resx b/win/CS/HandBrakeWPF/Properties/Resources.resx index 64d5ef562..2d4c9f8a3 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.resx @@ -290,4 +290,18 @@ So small increases in value will result in progressively larger increases in the Suggested values are: 18 to 20 for Standard Definition and 20 to 23 for High Definition. + + You can optionally store a maximum resolution for encodes that use this preset. There are 3 modes: + +None: There is no maximum resolution for encodes using this preset. They will always use the source resolution minus any cropping that may be applied. + +Custom: You can optionally set a Maximum width and height. When doing this an encode will be less than or equal to these values. + +Source Maximum: Similar to custom, but the resolution of your current source is used as the Max width and Height values instead. + + + The options passed to the x264 encoder. +The above controls are only a subset of useful x264 parameters. +This box allows you to add or modify additional or current parameters as desired. + \ No newline at end of file diff --git a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml index d6f6cb7e0..3e7a3fd7b 100644 --- a/win/CS/HandBrakeWPF/Views/AddPresetView.xaml +++ b/win/CS/HandBrakeWPF/Views/AddPresetView.xaml @@ -5,6 +5,7 @@ xmlns:Converters="clr-namespace:HandBrakeWPF.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:Properties="clr-namespace:HandBrakeWPF.Properties" Title="{Binding Title}" Width="350" ResizeMode="NoResize" @@ -16,6 +17,11 @@ + + + Style="{StaticResource LongToolTipHolder}" + ToolTip="{x:Static Properties:Resources.AddPreset_PictureSizeMode}" + Text="Picture Size:" /> diff --git a/win/CS/HandBrakeWPF/Views/AdvancedView.xaml b/win/CS/HandBrakeWPF/Views/AdvancedView.xaml index a05b41bff..2043680ff 100644 --- a/win/CS/HandBrakeWPF/Views/AdvancedView.xaml +++ b/win/CS/HandBrakeWPF/Views/AdvancedView.xaml @@ -29,15 +29,27 @@ + - + + - + -- 2.40.0