2022-01-24 21:29:16 +08:00
|
|
|
|
// Copyright (c) Microsoft Corporation
|
|
|
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
|
|
using System.Text.Json;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Library
|
|
|
|
|
{
|
2022-01-26 22:01:24 +08:00
|
|
|
|
public class SndMousePointerCrosshairsSettings
|
2022-01-24 21:29:16 +08:00
|
|
|
|
{
|
2022-01-26 22:01:24 +08:00
|
|
|
|
[JsonPropertyName("MousePointerCrosshairs")]
|
|
|
|
|
public MousePointerCrosshairsSettings MousePointerCrosshairs { get; set; }
|
2022-01-24 21:29:16 +08:00
|
|
|
|
|
2022-01-26 22:01:24 +08:00
|
|
|
|
public SndMousePointerCrosshairsSettings()
|
2022-01-24 21:29:16 +08:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2022-01-26 22:01:24 +08:00
|
|
|
|
public SndMousePointerCrosshairsSettings(MousePointerCrosshairsSettings settings)
|
2022-01-24 21:29:16 +08:00
|
|
|
|
{
|
2022-01-26 22:01:24 +08:00
|
|
|
|
MousePointerCrosshairs = settings;
|
2022-01-24 21:29:16 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string ToJsonString()
|
|
|
|
|
{
|
|
|
|
|
return JsonSerializer.Serialize(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|