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/ShellViewModel.cs | |
parent | c05974837c1222f3a0f2d0bcf9c41fbe6d8b0a08 (diff) |
WinGui: Strip out the overlay panel code. It's not used.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/ShellViewModel.cs | 52 |
1 files changed, 0 insertions, 52 deletions
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
|