This shows you the differences between two versions of the page.
ivac2:firdef_mapcolors_xml [2015/05/31 16:39] splendor.bouman [example] |
ivac2:firdef_mapcolors_xml [2017/04/08 14:27] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[ivac2:firdef_toc|Back]] | ||
- | |||
- | ====== 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| | ||
- | |||
- | |||
- | |||
- | |||
- | <HTML> | ||
- | <p style="border:1px dashed #C11B17;color:#C11B17;"> | ||
- | RULE: Always use id's and text values in English! | ||
- | <br> | ||
- | Remember that any user can and will use the FIR definition, not only your local division members!! | ||
- | <br> | ||
- | Keep it user friendly... Thank You! | ||
- | </p> | ||
- | </HTML> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ==== example ==== | ||
- | |||
- | <code XML> | ||
- | <colors> | ||
- | <color id="fir_bdry" r="15" g="15" b="15" a="120" text="FIR boundary" /> | ||
- | <color id="airspace_low" r="50" g="50" b="50" text="Airspace low" /> | ||
- | <color id="ebbr_ap_bdry" r="65" g="112" b="40" text="EBBR ground boundary" /> | ||
- | </colors> | ||
- | </code> | ||
- | |||