mirror of
https://github.com/hawkeye-stan/msfs-popout-panel-manager.git
synced 2024-11-25 15:20:10 +00:00
24 lines
704 B
C#
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
|
|
}
|
|
}
|