-
Notifications
You must be signed in to change notification settings - Fork 7k
/
Copy pathMouseJumpProperties.cs
131 lines (112 loc) · 2.83 KB
/
MouseJumpProperties.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
// 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;
using Settings.UI.Library.Attributes;
namespace Microsoft.PowerToys.Settings.UI.Library
{
public class MouseJumpProperties
{
[CmdConfigureIgnore]
public HotkeySettings DefaultActivationShortcut => new HotkeySettings(true, false, false, true, 0x44);
[JsonPropertyName("activation_shortcut")]
public HotkeySettings ActivationShortcut
{
get;
set;
}
[JsonPropertyName("thumbnail_size")]
public MouseJumpThumbnailSize ThumbnailSize
{
get;
set;
}
/// <summary>
/// Gets or sets the preview type.
/// Allowed values are "compact", "bezelled", "custom"
/// </summary>
[JsonPropertyName("preview_type")]
public string PreviewType
{
get;
set;
}
[JsonPropertyName("background_color_1")]
public string BackgroundColor1
{
get;
set;
}
[JsonPropertyName("background_color_2")]
public string BackgroundColor2
{
get;
set;
}
[JsonPropertyName("border_thickness")]
public int BorderThickness
{
get;
set;
}
[JsonPropertyName("border_color")]
public string BorderColor
{
get;
set;
}
[JsonPropertyName("border_3d_depth")]
public int Border3dDepth
{
get;
set;
}
[JsonPropertyName("border_padding")]
public int BorderPadding
{
get;
set;
}
[JsonPropertyName("bezel_thickness")]
public int BezelThickness
{
get;
set;
}
[JsonPropertyName("bezel_color")]
public string BezelColor
{
get;
set;
}
[JsonPropertyName("bezel_3d_depth")]
public int Bezel3dDepth
{
get;
set;
}
[JsonPropertyName("screen_margin")]
public int ScreenMargin
{
get;
set;
}
[JsonPropertyName("screen_color_1")]
public string ScreenColor1
{
get;
set;
}
[JsonPropertyName("screen_color_2")]
public string ScreenColor2
{
get;
set;
}
public MouseJumpProperties()
{
ActivationShortcut = DefaultActivationShortcut;
ThumbnailSize = new MouseJumpThumbnailSize();
}
}
}