From 3711325bb8aecc6376bbae5fa3611fc6188928cd Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 10 Nov 2012 20:00:20 +0000 Subject: WinGui: UI Tweaks and improvements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5053 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- .../Converters/Options/OptionsTabConverter.cs | 4 +- win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 16 ++--- win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs | 2 +- .../HandBrakeWPF/Views/Images/ActivityWindow.png | Bin 3128 -> 3113 bytes .../Views/Images/ActivityWindow_small.png | Bin 798 -> 801 bytes win/CS/HandBrakeWPF/Views/Images/Output_Small.png | Bin 798 -> 806 bytes win/CS/HandBrakeWPF/Views/OptionsView.xaml | 77 +++++++++++++-------- 7 files changed, 58 insertions(+), 41 deletions(-) diff --git a/win/CS/HandBrakeWPF/Converters/Options/OptionsTabConverter.cs b/win/CS/HandBrakeWPF/Converters/Options/OptionsTabConverter.cs index 2a7350b33..9c561e549 100644 --- a/win/CS/HandBrakeWPF/Converters/Options/OptionsTabConverter.cs +++ b/win/CS/HandBrakeWPF/Converters/Options/OptionsTabConverter.cs @@ -39,8 +39,8 @@ namespace HandBrakeWPF.Converters.Options case "Output Files": if (parameter.ToString() == "Output Files") return Visibility.Visible; break; - case "Language": - if (parameter.ToString() == "Language") return Visibility.Visible; + case "Audio and Subtitles": + if (parameter.ToString() == "Audio and Subtitles") return Visibility.Visible; break; case "Advanced": if (parameter.ToString() == "Advanced") return Visibility.Visible; diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 6404188c0..9511de2ae 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -393,7 +393,7 @@ namespace HandBrakeWPF.ViewModels { get { - return new List { "General", "Output Files", "Language", "Advanced", "Updates" }; + return new List { "General", "Output Files", "Audio and Subtitles", "Advanced", "Updates" }; } } @@ -1579,16 +1579,16 @@ namespace HandBrakeWPF.ViewModels this.AddAudioModeOptions.Clear(); this.AddAudioModeOptions.Add("None"); - this.AddAudioModeOptions.Add("All Remaining Tracks"); - this.AddAudioModeOptions.Add("All for Selected Languages"); + this.AddAudioModeOptions.Add("Add All Remaining Tracks"); + this.AddAudioModeOptions.Add("Add All for Selected Languages"); this.AddSubtitleModeOptions.Clear(); this.AddSubtitleModeOptions.Add("None"); - this.AddSubtitleModeOptions.Add("All"); - this.AddSubtitleModeOptions.Add("First"); - this.AddSubtitleModeOptions.Add("Selected"); - this.AddSubtitleModeOptions.Add("Prefered Only (First)"); - this.AddSubtitleModeOptions.Add("Prefered Only (All)"); + this.AddSubtitleModeOptions.Add("Add All (Where possible)"); + this.AddSubtitleModeOptions.Add("Add First"); + this.AddSubtitleModeOptions.Add("Add all for Selected Languages"); + this.AddSubtitleModeOptions.Add("Add only for Prefered Language (First)"); + this.AddSubtitleModeOptions.Add("Add all for Prefered Language"); this.SelectedAddAudioMode = this.userSettingService.GetUserSetting(UserSettingConstants.DubModeAudio); this.SelectedAddSubtitleMode = this.userSettingService.GetUserSetting(UserSettingConstants.DubModeSubtitle); diff --git a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs index 1fb80023e..a3998be21 100644 --- a/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/QueueViewModel.cs @@ -339,7 +339,7 @@ namespace HandBrakeWPF.ViewModels public void EditJob(QueueTask task) { MessageBoxResult result = this.errorService.ShowMessageBox( - "Are you sure you wish to edit this job?\nWARNING!!! This feature is not finished YET! Only part of the job will be copied back!!!", + "Are you sure you wish to edit this job? It will be removed from the queue and sent to the main window.", "Modify Job?", MessageBoxButton.YesNo, MessageBoxImage.Question); diff --git a/win/CS/HandBrakeWPF/Views/Images/ActivityWindow.png b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow.png index 9a6157f82..5e0961874 100644 Binary files a/win/CS/HandBrakeWPF/Views/Images/ActivityWindow.png and b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow.png differ diff --git a/win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.png b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.png index a2de1eead..2a965dc04 100644 Binary files a/win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.png and b/win/CS/HandBrakeWPF/Views/Images/ActivityWindow_small.png differ diff --git a/win/CS/HandBrakeWPF/Views/Images/Output_Small.png b/win/CS/HandBrakeWPF/Views/Images/Output_Small.png index a2de1eead..566f1b1b2 100644 Binary files a/win/CS/HandBrakeWPF/Views/Images/Output_Small.png and b/win/CS/HandBrakeWPF/Views/Images/Output_Small.png differ diff --git a/win/CS/HandBrakeWPF/Views/OptionsView.xaml b/win/CS/HandBrakeWPF/Views/OptionsView.xaml index 3e883a7ff..c7d2dc02d 100644 --- a/win/CS/HandBrakeWPF/Views/OptionsView.xaml +++ b/win/CS/HandBrakeWPF/Views/OptionsView.xaml @@ -1,5 +1,4 @@ - - + Visibility="{Binding SelectedTab, Converter={StaticResource tabConverter}, ConverterParameter='Audio and Subtitles'}"> + + + - + - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -205,7 +239,7 @@ - + - - - - - - - - - - - - - - - - -