2020-04-20 21:03:26 +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.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.PowerToys.Settings.UI.Lib
|
|
|
|
|
{
|
|
|
|
|
public class ShortcutGuideProperties
|
|
|
|
|
{
|
|
|
|
|
public ShortcutGuideProperties()
|
|
|
|
|
{
|
2020-05-08 23:22:57 +08:00
|
|
|
|
OverlayOpacity = new IntProperty(90);
|
|
|
|
|
PressTime = new IntProperty(900);
|
|
|
|
|
Theme = new StringProperty("light");
|
2020-04-20 21:03:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("overlay_opacity")]
|
|
|
|
|
public IntProperty OverlayOpacity { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("press_time")]
|
|
|
|
|
public IntProperty PressTime { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonPropertyName("theme")]
|
|
|
|
|
public StringProperty Theme { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|