blob: 84e681b88faa0c041d11e4a54d2824443944f52f (
plain) (
blame)
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
|
using Newtonsoft.Json;
using System;
namespace grapher.Models.Serialized
{
[Serializable]
public class GUISettings
{
#region Constructors
public GUISettings() {}
public GUISettings(bool autoWrite, int dpi, int pollRate)
{
AutoWriteToDriverOnStartup = autoWrite;
DPI = dpi;
PollRate = pollRate;
}
#endregion Constructors
#region Properties
[JsonProperty(Order = 1)]
public bool AutoWriteToDriverOnStartup { get; set; }
[JsonProperty(Order = 2)]
public int DPI { get; set; }
[JsonProperty(Order = 3)]
public int PollRate { get; set; }
[JsonProperty(Order = 4)]
public bool ShowLastMouseMove { get; set; }
[JsonProperty(Order = 4)]
public bool ShowVelocityAndGain { get; set; }
#endregion Properties
}
}
|