zone containers selectability

This commit is contained in:
dickelbeck 2008-02-20 06:47:19 +00:00
parent 1b39dfc7c9
commit a248ead341
2 changed files with 7 additions and 1 deletions

View File

@ -9,7 +9,12 @@ email address.
================================================================================ ================================================================================
+pcbnew +pcbnew
Add ZONE_CONTAINER support to the ID_PCB_HIGHLIGHT_BUTT tool and Add ZONE_CONTAINER support to the ID_PCB_HIGHLIGHT_BUTT tool and
WinEDA_PcbFrame::DrawHightLight() WinEDA_PcbFrame::DrawHightLight(). Added TYPEZONE_CONTAINER to
GENERAL_COLLECTOR::AllButZones[] so that containers are editable even
when the "Show Zones" toggle is off. This came from using the software
and realizing that if something is visible (zone containers remain visible
even when Show Zones is off) then it should be selectable. Otherwise it is
confusing and frustrating.
2008-Feb-18 UPDATE Dick Hollenbeck <dick@softplc.com> 2008-Feb-18 UPDATE Dick Hollenbeck <dick@softplc.com>

View File

@ -76,6 +76,7 @@ const KICAD_T GENERAL_COLLECTOR::AllButZones[] = {
TYPEPAD, TYPEPAD,
TYPETEXTEMODULE, TYPETEXTEMODULE,
TYPEMODULE, TYPEMODULE,
TYPEZONE_CONTAINER, // if it is visible on screen, it should be selectable
EOT EOT
}; };