forked from BlinkSun/ParticleLifeSimulation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.cs
63 lines (56 loc) · 1.92 KB
/
Settings.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
using System.Configuration;
namespace ParticleLifeSimulation
{
public class Settings : ApplicationSettingsBase
{
[UserScopedSetting]
[DefaultSettingValue("Control")]
public Color SimulationBackColor
{
get => (Color)this[nameof(SimulationBackColor)];
set => this[nameof(SimulationBackColor)] = value;
}
[UserScopedSetting]
[DefaultSettingValue("1")]
public int SimulationStepsPerFrame
{
get => (int)this[nameof(SimulationStepsPerFrame)];
set => this[nameof(SimulationStepsPerFrame)] = value;
}
[UserScopedSetting]
[DefaultSettingValue("true")]
public bool SimulationAnimated
{
get => (bool)this[nameof(SimulationAnimated)];
set => this[nameof(SimulationAnimated)] = value;
}
[UserScopedSetting]
[DefaultSettingValue("false")]
public bool ParticlesContraste
{
get => (bool)this[nameof(ParticlesContraste)];
set => this[nameof(ParticlesContraste)] = value;
}
[UserScopedSetting]
[DefaultSettingValue("false")]
public bool ParticlesBorderless
{
get => (bool)this[nameof(ParticlesBorderless)];
set => this[nameof(ParticlesBorderless)] = value;
}
[UserScopedSetting]
[DefaultSettingValue("false")]
public bool ParticlesSystemColorsIncluded
{
get => (bool)this[nameof(ParticlesSystemColorsIncluded)];
set => this[nameof(ParticlesSystemColorsIncluded)] = value;
}
[UserScopedSetting]
[DefaultSettingValue("false")]
public bool ParticlesCompoundColorNamesIncluded
{
get => (bool)this[nameof(ParticlesCompoundColorNamesIncluded)];
set => this[nameof(ParticlesCompoundColorNamesIncluded)] = value;
}
}
}