kicad/include/gal
John Beard 8766b475c6 Sanitise incoming GAL config options using mapping tables
When reading config options from files, it's important to make sure the
value makes sense - the incoming data could be anything, and may have
incompatible values or be otherwise unreliable.

This introduces a simple way to define and use "mapping tables" which
can map between a "native" value, probably an enum (but not necessarily)
and some external value, for example the value written to file.

This provides a decoupling between the two values, as well as sanitising
inputs and outputs. This is important, as over time, if there isn't a
decoupled interface, changing options result in corrupt configs, or a
proliferation of obsolete enum values kept for compatibility.
2017-02-20 10:52:34 +01:00
..
cairo Give all GAL canvases access to a GAL_DISPLAY_OPTIONS structure instance 2017-02-20 10:52:34 +01:00
opengl Give all GAL canvases access to a GAL_DISPLAY_OPTIONS structure instance 2017-02-20 10:52:34 +01:00
color4d.h Fix many doxygen warnings (due to missing info, old comments, typo ...) when building the doxygen doc. 2014-11-02 17:25:04 +01:00
compositor.h Initialize fields in COMPOSITOR 2017-01-13 16:46:45 +01:00
definitions.h Mainly case changes. 2013-10-14 20:40:36 +02:00
gal_display_options.h Sanitise incoming GAL config options using mapping tables 2017-02-20 10:52:34 +01:00
graphics_abstraction_layer.h Add user control for grid minimum spacing in GAL 2017-02-20 10:52:34 +01:00
stroke_font.h Moved text settings from STROKE_FONT to GAL. 2016-05-02 15:56:12 +02:00