summaryrefslogtreecommitdiff
path: root/Data/Config.cs
blob: 1aa97bae1f8a0a7ff5ce89bf46864d3767e44678 (plain)
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
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

    }
}