diff options
author | hurter | 2011-08-31 16:25:05 +0000 |
---|---|---|
committer | hurter | 2011-08-31 16:25:05 +0000 |
commit | 42dc1d36235292786322d28340a81c6cb3fd46c0 (patch) | |
tree | 6f4ef0d4ad672c54500d9457af90fc599ac9b299 /Data/Config.cs | |
parent | 5aa429a3e7e9f610f5b2dd8f8e2a865ecfd25ea3 (diff) | |
download | amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.zip amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.tar.gz amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.tar.bz2 amilis-42dc1d36235292786322d28340a81c6cb3fd46c0.tar.xz |
Diffstat (limited to 'Data/Config.cs')
-rw-r--r-- | Data/Config.cs | 51 |
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
+
+ }
+}
|