summaryrefslogtreecommitdiff
path: root/Data/Config.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Data/Config.cs')
-rw-r--r--Data/Config.cs51
1 files changed, 51 insertions, 0 deletions
diff --git a/Data/Config.cs b/Data/Config.cs
new file mode 100644
index 0000000..1aa97ba
--- /dev/null
+++ b/Data/Config.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Drawing;
+
+namespace Data
+{
+ class Config
+ {
+ #region Route
+
+ public static float coordinatesRatio = 8f;
+
+ public static string sectorsXmlFilePath = "sectors.xml";
+ public static string beaconsXmlFilePath = "balises.xml";
+ public static string routesXmlFilePath = "routes.xml";
+
+ public static Pen drawRoutesPen = new Pen(Color.FromArgb(60, Color.White), 1.0f);
+
+ #endregion
+
+ #region Beacon
+
+ public static Font unselectedBeaconsCodesFont = new Font("Arial", 8, FontStyle.Regular);
+ public static Color drawBeaconColor = Color.FromArgb(100, Color.Black);
+ public static Color drawBeaconCodeColor = Color.FromArgb(80, Color.Black);
+ public static Color drawSelectedBeaconColor = Color.FromArgb(100, Color.White);
+ public static Color drawSelectedBeaconCodeColor = Color.FromArgb(80, Color.White);
+ public static Font selectedBeaconsCodesFont = new Font("Arial", 8, FontStyle.Bold);
+
+ public static int beaconsCirclesSize = 5;
+ #endregion
+
+ #region Sector
+ public static int sectorHighFloorValue = 195;
+ public static Color sectorLinesColor = Color.FromArgb(40, Color.Black);
+ //public static Color sectorSelectedFillColor = Color.FromArgb(250, Color.DarkSlateGray);
+ public static Color sectorSelectedFillColor = Color.FromArgb(250, ColorTranslator.FromHtml("#616360"));
+ //public static Color sectorFillColor = Color.FromArgb(0, Color.DarkSlateGray);
+ public static Color sectorFillColor = Color.FromArgb(200, ColorTranslator.FromHtml("#7a797c"));
+ public static Color sectorNameColor = Color.FromArgb(255, Color.Black);
+ public static Font sectorNameFont = new Font("Arial", 8);
+ #endregion
+
+ #region Aircraft
+ static public int aircraftCometLength = 5;
+ #endregion
+
+ }
+}