This shows you the differences between two versions of the page.
ivac2:firdef_mapcolors_xml [2015/06/07 22:03] splendor.bouman |
ivac2:firdef_mapcolors_xml [2017/04/08 14:27] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== mapcolors.xml ====== | ||
- | |||
- | The **mapcolors.xml** file is used define a RGB color for each of the color codes used in the maps using the **color=** attribute. | ||
- | The colors are defined per FIR definition and allow you to define a look and feel as close as possible to the local real life ATM system. | ||
- | |||
- | ^Root Element|colors|| | ||
- | ^Element|color|| | ||
- | ^Attribute^Format^Remarks^ | ||
- | |id|string|color name, used as color identification in the maps.| | ||
- | |r|byte|RGB color code (0-255)| | ||
- | |g|byte|RGB color code (0-255)| | ||
- | |b|byte|RGB color code (0-255)| | ||
- | |a|byte|RGB color code (0-255)| | ||
- | |text|string|text to display for this color in the color editor| | ||
- | |brt|string|Value of Brightness group| | ||
- | |||
- | |||
- | Note: If no Alpha value is specified, 255 (100% opacity) is used | ||
- | |||
- | ==== Example ==== | ||
- | |||
- | <code XML> | ||
- | <colors> | ||
- | <color id="fir_bdry" r="15" g="15" b="15" a="120" text="FIR boundary" brt="airspace"/> | ||
- | <color id="airspace_low" r="50" g="50" b="50" text="Airspace low" brt="airspace" /> | ||
- | <color id="ebbr_ap_bdry" r="65" g="112" b="40" text="EBBR ground boundary" brt="airspace" /> | ||
- | </colors> | ||
- | </code> | ||
- | |||
- | ---- | ||
- | |||
- | [[ivac2:firdef|Back]] | ||