Skip to content

Commit

Permalink
Update MainWindowViewModel
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Dec 20, 2023
1 parent bb7f95e commit a7a312f
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions src/HUDMerger/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,29 @@ public class MainWindowViewModel : ViewModelBase
// About
public ICommand ShowAboutWindowCommand { get; }

private readonly List<HUDPanelViewModel> HUDPanelViewModels = [];
public readonly List<HUDPanelViewModel> HUDPanelViewModels = [];

public HUD? SourceHUD;
public HUD? TargetHUD;
private HUD? _sourceHUD;
public HUD? SourceHUD
{
get => _sourceHUD;
set
{
_sourceHUD = value;
OnPropertyChanged();
}
}

private HUD? _targetHUD;
public HUD? TargetHUD
{
get => _targetHUD;
set
{
_targetHUD = value;
OnPropertyChanged();
}
}

public HUDInfoViewModel SourceHUDInfoViewModel { get; }
public HUDInfoViewModel TargetHUDInfoViewModel { get; }
Expand Down

0 comments on commit a7a312f

Please sign in to comment.