1
0
Fork 0
mirror of https://github.com/hawkeye-stan/msfs-popout-panel-manager.git synced 2024-11-25 15:20:10 +00:00
msfs-popout-panel-manager/DomainModel/Setting/AfterPopOutCameraView.cs
2024-02-27 21:44:21 -05:00

24 lines
704 B
C#

using MSFSPopoutPanelManager.Shared;
using Newtonsoft.Json;
namespace MSFSPopoutPanelManager.DomainModel.Setting
{
public class AfterPopOutCameraView : ObservableObject
{
public bool IsEnabled { get; set; } = true;
public AfterPopOutCameraViewType CameraView { get; set; } = AfterPopOutCameraViewType.CockpitCenterView;
public string KeyBinding { get; set; } = "1";
// Use for MVVM binding only
[JsonIgnore]
public bool IsEnabledCustomCameraKeyBinding => IsEnabled && CameraView == AfterPopOutCameraViewType.CustomCameraView;
}
public enum AfterPopOutCameraViewType
{
CockpitCenterView,
CustomCameraView
}
}