diff options
author | sr55 <[email protected]> | 2016-04-18 21:17:09 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2016-04-18 21:17:09 +0100 |
commit | c892e3697bc617bcb3ffdc67f2e6e56a341c9691 (patch) | |
tree | ce4c62a06ea2b248a71ddc51e2850754b1f77806 /win/CS/HandBrakeWPF/ViewModels | |
parent | c05974837c1222f3a0f2d0bcf9c41fbe6d8b0a08 (diff) |
WinGui: Strip out the overlay panel code. It's not used.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
4 files changed, 1 insertions, 84 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IAudioDefaultsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IAudioDefaultsViewModel.cs index e9e31d0ab..897568ed8 100644 --- a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IAudioDefaultsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IAudioDefaultsViewModel.cs @@ -16,7 +16,7 @@ namespace HandBrakeWPF.ViewModels.Interfaces /// <summary>
/// The Audio View Model Interface
/// </summary>
- public interface IAudioDefaultsViewModel : IOverlayPanel, IViewModelBase
+ public interface IAudioDefaultsViewModel : IViewModelBase
{
/// <summary>
/// Gets the audio behaviours.
diff --git a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IOverlayPanel.cs b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IOverlayPanel.cs deleted file mode 100644 index c713ce283..000000000 --- a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IOverlayPanel.cs +++ /dev/null @@ -1,18 +0,0 @@ -// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="IOverlayPanel.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// The OverlayPanel interface.
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrakeWPF.ViewModels.Interfaces
-{
- /// <summary>
- /// The OverlayPanel interface.
- /// </summary>
- public interface IOverlayPanel
- {
- }
-}
diff --git a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IShellViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IShellViewModel.cs index 0b156109a..6c537ef66 100644 --- a/win/CS/HandBrakeWPF/ViewModels/Interfaces/IShellViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/Interfaces/IShellViewModel.cs @@ -17,19 +17,6 @@ namespace HandBrakeWPF.ViewModels.Interfaces public interface IShellViewModel
{
/// <summary>
- /// The show overlay.
- /// </summary>
- /// <param name="panel">
- /// The panel.
- /// </param>
- void ShowOverlay(IOverlayPanel panel);
-
- /// <summary>
- /// The hide overlay.
- /// </summary>
- void HideOverlay();
-
- /// <summary>
/// Change the page displayed on this window.
/// </summary>
/// <param name="window">
diff --git a/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs index 848472899..35c8d6a86 100644 --- a/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs @@ -42,12 +42,8 @@ namespace HandBrakeWPF.ViewModels /// </summary>
private bool showOptions;
- private bool showOverlayPanel;
-
private bool isMainPanelEnabled;
- private IMainViewModel mainViewModel;
-
#endregion
/// <summary>
@@ -73,28 +69,6 @@ namespace HandBrakeWPF.ViewModels }
/// <summary>
- /// The show overlay.
- /// </summary>
- /// <param name="panel">
- /// The panel.
- /// </param>
- public void ShowOverlay(IOverlayPanel panel)
- {
- this.OverlayPanelViewModel = panel;
- this.NotifyOfPropertyChange(() => this.OverlayPanelViewModel);
- this.ShowOverlayPanel = true;
- }
-
- /// <summary>
- /// The hide overlay.
- /// </summary>
- public void HideOverlay()
- {
- this.ShowOverlayPanel = false;
- this.OverlayPanelViewModel = null;
- }
-
- /// <summary>
/// Change the page displayed on this window.
/// </summary>
/// <param name="window">
@@ -132,11 +106,6 @@ namespace HandBrakeWPF.ViewModels public IOptionsViewModel OptionsViewModel { get; set; }
/// <summary>
- /// Gets or sets the overlay panel view model.
- /// </summary>
- public IOverlayPanel OverlayPanelViewModel { get; set; }
-
- /// <summary>
/// Gets or sets a value indicating whether ShowMainWindow.
/// </summary>
public bool ShowMainWindow
@@ -189,27 +158,6 @@ namespace HandBrakeWPF.ViewModels }
/// <summary>
- /// Gets or sets a value indicating whether show overlay panel.
- /// </summary>
- public bool ShowOverlayPanel
- {
- get
- {
- return this.showOverlayPanel;
- }
- set
- {
- if (value.Equals(this.showOverlayPanel))
- {
- return;
- }
- this.showOverlayPanel = value;
- this.IsMainPanelEnabled = !value;
- this.NotifyOfPropertyChange(() => this.ShowOverlayPanel);
- }
- }
-
- /// <summary>
/// Gets WindowTitle.
/// </summary>
public string WindowTitle
|