Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Jeff Young
889970a449
SCH_NETCLASS_FLAGs and SCH_FIELDs for labels.
ADDED: a new label type for netclass flags.
ADDED: the ability to define fields on labels.
4 years ago
Mikolaj Wielgus
2ecd5ac909
Fix calculation of selection center
Fixes https://gitlab.com/kicad/code/kicad/issues/9998
4 years ago
Jeff Young
7ffd43a6f4
Regularize the promotion of pads to footprints in non-free-pad mode.
Also regularizes some of the other selection filtering options.
This also fixes an invalidated iterator (and subsequent segfault) in
the old code.
Fixes https://gitlab.com/kicad/code/kicad/issues/9896
4 years ago
Mikolaj Wielgus
10be483430
Make an exception for SCH_TEXT in SELECTION::GetCenter()
And undo the previous changes in SCH_TEXT::Rotate().
We continue hitting this with a wrench until it gets fixed or becomes
broken beyond any recognition.
4 years ago
jean-pierre charras
ac7c51e2f7
Fix compil issue.
4 years ago
Mikolaj Wielgus
5f8f1542f8
Use the mean of all positions as center when rotating label-only selection
Fixes https://gitlab.com/kicad/code/kicad/issues/9690
4 years ago
Jon Evans
ae24daa033
Do not include text when computing drag origin for a group
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9630
4 years ago
Jeff Young
930c4e5582
Cleanup.
Formatting.
Naming conventions.
Use of auto.
Use of STL cover types.
4 years ago
Marek Roszko
527bda5d58
Split out selection.cpp to reduce header sharing
selection.h is included into 782 compilation units....
5 years ago