-
Notifications
You must be signed in to change notification settings - Fork 0
/
VisualStyleContainer.cs
111 lines (87 loc) · 4.19 KB
/
VisualStyleContainer.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
using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using UCNLDrivers;
namespace AzimuthSuite
{
[Serializable]
public class VisualStyleContainer : SimpleSettingsContainer
{
#region Properties
public static string DefaultName = "Default Dark 🌙";
public string Name;
public string RPlot_Font;
public string RPlot_BackColor;
public string RPlot_ForeColor;
public string RPlot_AxisLabelBackgroundColor;
public string RPlot_AxisColor;
public string RPlot_AxisLabelColor;
public string RPlot_AxisLabelFont;
public string RPlot_BoatColor;
public int RPlot_BoatSize;
public string RPlot_HistoryTextColor;
public string RPlot_HistoryTextFont;
public int RPlot_HistoryLinesNumber;
public string RPlot_LeftUpperTextBackgroundColor;
public string RPlot_LeftUpperTextColor;
public string RPlot_LeftUpperTextFont;
public string RPlot_LimboColor;
public int RPlot_LimboThickness;
public int RPlot_LimboTickAngleStep;
public LineCap RPlot_LimboTickCap;
public string RPlot_LimboTickColor;
public int RPlot_LimboTickThickness;
public string RPlot_RightUpperTextBackgroundColor;
public string RPlot_RightUpperTextColor;
public string RPlot_RightUpperTextFont;
public string RPlot_TargetCircleColor;
public string RPlot_TargetDistLineColor;
public string RPlot_TargetLabelBackgroundColor;
public string RPlot_TargetLabelColor;
public string RPlot_TargetLabelFont;
public string TreeView_BackColor;
public string TreeView_ForeColor;
public string TreeView_LineColor;
public string TreeView_Font;
#endregion
#region Methods
public override void SetDefaults()
{
Name = DefaultName;
RPlot_BackColor = ColorTranslator.ToHtml(Color.Black);
RPlot_ForeColor = ColorTranslator.ToHtml(Color.White);
RPlot_Font = "Segoe UI, 10pt";
RPlot_AxisLabelBackgroundColor = ColorTranslator.ToHtml(Color.Black);
RPlot_AxisColor = ColorTranslator.ToHtml(Color.LightGray);
RPlot_AxisLabelColor = ColorTranslator.ToHtml(Color.LightGray);
RPlot_AxisLabelFont = "Consolas, 12pt";
RPlot_BoatColor = ColorTranslator.ToHtml(Color.Yellow);
RPlot_BoatSize = 20;
RPlot_HistoryTextColor = ColorTranslator.ToHtml(Color.SpringGreen);
RPlot_HistoryLinesNumber = 4;
RPlot_HistoryTextFont = "Consolas, 9pt";
RPlot_LeftUpperTextBackgroundColor = ColorTranslator.ToHtml(Color.Transparent);
RPlot_LeftUpperTextColor = ColorTranslator.ToHtml(Color.GreenYellow);
RPlot_LeftUpperTextFont = "Consolas, 13.8pt";
RPlot_LimboColor = ColorTranslator.ToHtml(Color.LightSeaGreen);
RPlot_LimboThickness = 10;
RPlot_LimboTickAngleStep = 15;
RPlot_LimboTickCap = LineCap.Triangle;
RPlot_LimboTickColor = ColorTranslator.ToHtml(Color.LightGray);
RPlot_LimboTickThickness = 10;
RPlot_RightUpperTextBackgroundColor = ColorTranslator.ToHtml(Color.Black);
RPlot_RightUpperTextColor = ColorTranslator.ToHtml(Color.PowderBlue);
RPlot_RightUpperTextFont = "Consolas, 13.8pt";
RPlot_TargetCircleColor = ColorTranslator.ToHtml(Color.Goldenrod);
RPlot_TargetDistLineColor = ColorTranslator.ToHtml(Color.Gold);
RPlot_TargetLabelBackgroundColor = ColorTranslator.ToHtml(Color.Yellow);
RPlot_TargetLabelColor = ColorTranslator.ToHtml(Color.Black);
RPlot_TargetLabelFont = "Consolas, 16.2pt";
TreeView_BackColor = ColorTranslator.ToHtml(Color.Black);
TreeView_ForeColor = ColorTranslator.ToHtml(Color.LawnGreen);
TreeView_LineColor = ColorTranslator.ToHtml(Color.LightGreen);
TreeView_Font = "Consolas, 13.8pt";
}
#endregion
}
}