kicad/common/preview_items
John Beard c3ff34e0df Add reset text attributes function to GAL - use for arc tool
Independent drawing functions (that don't expect any particular state to
be set up fo them) on the GAL need to reset the GAL properties they
use. This adds GAL::ResetTextAttributes() to make this easier.

This is important, as failing to reset mirroring can cause asserts in
OpenGL.

This is used in the Ruler tool (which previously did it one attribute at
a time) and also the Arc layout assistant, which previously failed to
reset mirroring.

Also reset on GAL construction, as these members appear to be
uninitialised.
2017-03-31 15:59:31 +02:00
..
arc_assistant.cpp Add reset text attributes function to GAL - use for arc tool 2017-03-31 15:59:31 +02:00
arc_geom_manager.cpp Enhance Pcbnew arc construction 2017-03-17 20:56:54 +01:00
bright_box.cpp Refactor BRIGHT_BOX to common so it can be used by other programs 2017-03-11 21:38:01 +01:00
centreline_rect_item.cpp Add GAL microwave tools 2017-03-20 16:10:51 +01:00
polygon_geom_manager.cpp Rework zone creation in GAL 2017-03-22 17:18:12 +01:00
polygon_item.cpp Rework zone creation in GAL 2017-03-22 17:18:12 +01:00
preview_utils.cpp Add a ruler tool to pcbnew GAL 2017-03-10 16:21:44 +01:00
ruler_item.cpp Add reset text attributes function to GAL - use for arc tool 2017-03-31 15:59:31 +02:00
selection_area.cpp Make SELECTION_AREA a generic overlay item 2017-03-10 16:21:44 +01:00
simple_overlay_item.cpp Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00