using System.ComponentModel; using System.Windows; namespace VPet.Solution.Models; public class GraphicsSettingModel : ObservableClass { private double _zoomLevel = 1; /// /// 缩放倍率 /// [DefaultValue(1)] public double ZoomLevel { get => _zoomLevel; set => SetProperty(ref _zoomLevel, value); } private int _resolution = 1000; /// /// 桌宠图形渲染的分辨率,越高图形越清晰 /// [DefaultValue(1000)] public int Resolution { get => _resolution; set => SetProperty(ref _resolution, value); } private bool _isBiggerScreen; /// /// 是否为更大的屏幕 /// public bool IsBiggerScreen { get => _isBiggerScreen; set => SetProperty(ref _isBiggerScreen, value); } private bool _topMost; /// /// 是否置于顶层 /// public bool TopMost { get => _topMost; set => SetProperty(ref _topMost, value); } private bool _hitThrough; /// /// 是否鼠标穿透 /// public bool HitThrough { get => _hitThrough; set => SetProperty(ref _hitThrough, value); } private string _language; /// /// 语言 /// public string Language { get => _language; set => SetProperty(ref _language, value); } private string _font; /// /// 字体 /// public string Font { get => _font; set => SetProperty(ref _font, value); } private string _theme; /// /// 主题 /// public string Theme { get => _theme; set => SetProperty(ref _theme, value); } private bool _startUPBoot; /// /// 开机启动 /// public bool StartUPBoot { get => _startUPBoot; set => SetProperty(ref _startUPBoot, value); } private bool _startUPBootSteam; /// /// 开机启动 Steam /// public bool StartUPBootSteam { get => _startUPBootSteam; set => SetProperty(ref _startUPBootSteam, value); } private bool _startRecordLast = true; /// /// 是否记录游戏退出位置 /// [DefaultValue(true)] public bool StartRecordLast { get => _startRecordLast; set => SetProperty(ref _startRecordLast, value); } //private Point _startRecordLastPoint; ///// ///// 记录上次退出位置 ///// //public Point StartRecordLastPoint //{ // get => _startRecordLastPoint; // set => SetProperty(ref _startRecordLastPoint, value); //} private ObservablePoint _startRecordPoint; /// /// 设置中桌宠启动的位置 /// public ObservablePoint StartRecordPoint { get => _startRecordPoint; set => SetProperty(ref _startRecordPoint, value); } private bool _hideFromTaskControl; /// /// 在任务切换器(Alt+Tab)中隐藏窗口 /// public bool HideFromTaskControl { get => _hideFromTaskControl; set => SetProperty(ref _hideFromTaskControl, value); } }