kicad/pcbnew
Peter Montgomery 60046a1bcc Dynamically scale cross-probe zooming
CHANGED: When doing cross-probe zooming, KiCad zooms the selected
component to fill the screen.  This makes it hard to understand the
part in context so users would have to always zoom out manually.  This
commit uses the default text height in Eeschema and Pcbnew as a
constant to compare the height of selected parts or components against.
This lets the code determine how big the part is and scale the zoom
wider accordingly.  Big parts get less scaling and small part get more.

NOTE: There is a little bit of debug code present.  There are #ifdefs
to let developers easily swap in the original KiCad zoom for comparison.
There is also a bool added that can force each program to always perform
the new calculated zoom since KiCad ignores zooms that are close to the
current value. This debug code can be removed later as desired.
2020-10-02 00:56:52 +00:00
..
autorouter Fix array creation in the autoplacement tool 2020-09-02 00:10:25 +01:00
board_stackup_manager Minor code cleanup, step2: remove more useless include. 2020-10-01 15:39:47 +02:00
connectivity Standardize pad type enums 2020-09-30 08:38:35 -07:00
dialogs Don't reload DRC lists on activate event. 2020-10-01 22:45:54 +01:00
drc drc: silk to silk clerance test should not report errors for hidden text 2020-10-01 18:55:53 +02:00
exporters Cleanup. No changes to execution. 2020-09-30 23:07:12 +01:00
github Remove all debugging output that cannot be disabled. 2020-08-18 10:17:36 -04:00
import_gfx Move std::contains to alg::contains. 2020-09-26 14:42:40 +01:00
microwave Clean up arc/circle polygonization. 2020-09-11 11:23:49 +01:00
netlist_reader Minor code cleanup, step2: remove more useless include. 2020-10-01 15:39:47 +02:00
pcad2kicadpcb_plugin Standardize pad type enums 2020-09-30 08:38:35 -07:00
plugins Standardize pad type enums 2020-09-30 08:38:35 -07:00
python Reverts premature Python 3 calls in favor of backwards compat. 2020-09-03 20:05:38 -07:00
ratsnest Cleanup. No changes to execution. 2020-09-30 23:07:12 +01:00
router Remove PCB_LAYER_WIDGET 2020-09-30 19:12:26 -04:00
specctra_import_export Revert "Code cleanup: remove useless wx/wx.h include inside a few files." 2020-09-30 20:47:20 +02:00
swig Make sure new DRC_ENGINE is initialized. 2020-10-01 23:44:52 +01:00
tools Revert "Drag preselected items even when "prefer selection to dragging" enabled" 2020-10-01 18:23:30 -04:00
widgets Don't test forbidden footprint layers in board editor 2020-10-01 18:34:17 -04:00
CMakeLists.txt Remove PCB_LAYER_WIDGET 2020-09-30 19:12:26 -04:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp
action_plugin.h
array_creator.cpp ADDED: Center marker dimension type 2020-09-16 20:55:11 -04:00
array_creator.h
array_pad_name_provider.cpp
array_pad_name_provider.h
board_commit.cpp Re-implement undo/redo of group ops in a pointer-safe way. 2020-09-26 10:03:13 +01:00
board_commit.h Convert UNDO_REDO_T to an enum class 2020-08-26 18:04:32 +00:00
board_connected_item.cpp Don't assume colour theme preview board will have a DRCEngine. 2020-09-16 10:42:25 +01:00
board_connected_item.h Finish exorcising the old DRC system. 2020-09-15 20:15:46 +01:00
board_design_settings.cpp Progress reporting for connectivity tests. 2020-09-23 16:28:00 +01:00
board_item_container.h
board_items_to_polygon_shape_transform.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
build_BOM_from_board.cpp Clean up error messages. 2020-08-31 14:19:57 +01:00
class_board.cpp Annotate the board class with if it is for a footprint edit/view 2020-09-30 23:34:04 +01:00
class_board.h Annotate the board class with if it is for a footprint edit/view 2020-09-30 23:34:04 +01:00
class_board_item.cpp Don't leave stale pointers in groups when exchanging modules. 2020-09-25 18:43:19 +01:00
class_dimension.cpp Fix memory management with DIMENSION shapes 2020-10-01 20:11:35 +01:00
class_dimension.h Fix memory management with DIMENSION shapes 2020-10-01 20:11:35 +01:00
class_drawsegment.cpp Ease translation a bit. 2020-09-19 18:49:06 +01:00
class_drawsegment.h Make DRAWSEGMENT::GetRectCorners return vector 2020-09-07 05:33:10 +00:00
class_edge_mod.cpp VIEW::ViewGetLOD() returns double now instead of int. 2020-09-21 17:55:24 +02:00
class_edge_mod.h VIEW::ViewGetLOD() returns double now instead of int. 2020-09-21 17:55:24 +02:00
class_marker_pcb.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
class_marker_pcb.h Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
class_module.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
class_module.h VIEW::ViewGetLOD() returns double now instead of int. 2020-09-21 17:55:24 +02:00
class_pad.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
class_pad.h Standardize pad type enums 2020-09-30 08:38:35 -07:00
class_pcb_group.cpp Allow selection of nested items (ie: pads) inside an entered group. 2020-09-26 20:35:52 +01:00
class_pcb_target.cpp Ease translation a bit. 2020-09-19 18:49:06 +01:00
class_pcb_target.h
class_pcb_text.cpp Implement GetMsgPanelInfo for dimensions. 2020-09-24 22:23:59 +01:00
class_pcb_text.h pcbnew: implement GetEffectiveShape() for tracks/vias/arcs/texts 2020-08-13 14:50:59 +02:00
class_text_mod.cpp EDA_TEXT: Use actual draw rotation angle to generate the effective shape. 2020-10-01 18:55:53 +02:00
class_text_mod.h EDA_TEXT: Use actual draw rotation angle to generate the effective shape. 2020-10-01 18:55:53 +02:00
class_track.cpp Remove confusion between pad->IsOnLayer and pad->IsPadOnLayer 2020-09-30 11:50:51 +01:00
class_track.h Remove confusion between pad->IsOnLayer and pad->IsPadOnLayer 2020-09-30 11:50:51 +01:00
class_zone.cpp Move DebugZoneFiller to advanced config. 2020-09-23 10:52:44 +01:00
class_zone.h Implement visual zone dumping and fix the default fill algo setting. 2020-09-23 01:14:35 +01:00
cleanup_item.cpp Make sure zone fills are up-to-date before deleting unconnected things. 2020-08-21 20:32:19 +01:00
cleanup_item.h Finish exorcising the old DRC system. 2020-09-15 20:15:46 +01:00
collectors.cpp ADDED: Orthogonal dimension object 2020-09-21 23:55:02 -04:00
collectors.h Implement new dimension properties 2020-09-11 21:12:36 -04:00
convert_drawsegment_list_to_polygon.cpp Handle single line segments on footprint edgecuts 2020-09-30 23:34:04 +01:00
cross-probing.cpp Dynamically scale cross-probe zooming 2020-10-02 00:56:52 +00:00
eagle_plugin.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
eagle_plugin.h
edit.cpp ADDED Properties Dialog for groups. 2020-09-24 14:41:02 +01:00
edit_track_width.cpp Make sure router and via tools update when sizes change. 2020-08-31 23:33:02 +01:00
files.cpp ADDED: CADSTAR Archive project importer 2020-09-27 23:50:20 +00:00
footprint_edit_frame.cpp Annotate the board class with if it is for a footprint edit/view 2020-09-30 23:34:04 +01:00
footprint_edit_frame.h ADDED: Appearance panel for footprint editor 2020-09-30 17:46:58 -04:00
footprint_editor_settings.cpp ADDED: Appearance panel for footprint editor 2020-09-30 17:46:58 -04:00
footprint_editor_utils.cpp ADDED: Appearance panel for footprint editor 2020-09-30 17:46:58 -04:00
footprint_info_impl.cpp Implement an app progress indicator in the taskbar 2020-08-09 10:55:00 +00:00
footprint_info_impl.h
footprint_libraries_utils.cpp Give new footprint libraries a dummy name in the file dialog 2020-09-02 00:10:25 +01:00
footprint_preview_panel.cpp Improve color theme support in the footprint preview widget 2020-08-10 02:29:15 +01:00
footprint_preview_panel.h Improve color theme support in the footprint preview widget 2020-08-10 02:29:15 +01:00
footprint_tree_pane.cpp
footprint_tree_pane.h
footprint_viewer_frame.cpp Annotate the board class with if it is for a footprint edit/view 2020-09-30 23:34:04 +01:00
footprint_viewer_frame.h Add snapping to eeschema 2020-09-09 10:18:15 -07:00
footprint_wizard.cpp
footprint_wizard.h
footprint_wizard_frame.cpp Add a palette to the toolbars to display groups of actions 2020-09-27 01:00:44 +01:00
footprint_wizard_frame.h Add snapping to eeschema 2020-09-09 10:18:15 -07:00
footprint_wizard_frame_functions.cpp FOOTPRINT_WIZARD_FRAME::ParametersUpdated(): fix a reentering issue 2020-09-08 18:23:28 +02:00
fp_tree_model_adapter.cpp
fp_tree_model_adapter.h
fp_tree_synchronizing_adapter.cpp
fp_tree_synchronizing_adapter.h
generate_footprint_info.cpp
generate_footprint_info.h
gpcb_plugin.cpp
gpcb_plugin.h
graphics_cleaner.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
graphics_cleaner.h Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
grid_layer_box_helpers.cpp
grid_layer_box_helpers.h
initpcb.cpp Annotate the board class with if it is for a footprint edit/view 2020-09-30 23:34:04 +01:00
invoke_pcb_dialog.h
io_mgr.cpp CADSTAR PCB Archive Importer: Move code into common/plugins and pcbnew/plugins folders 2020-09-08 21:21:20 +00:00
io_mgr.h CADSTAR PCB Archive Importer: Move code into common/plugins and pcbnew/plugins folders 2020-09-08 21:21:20 +00:00
kicad_clipboard.cpp Fix broken layer names used when saving a footprint from library. 2020-09-24 20:01:24 +02:00
kicad_clipboard.h
kicad_plugin.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
kicad_plugin.h Fix broken layer names used when saving a footprint from library. 2020-09-24 20:01:24 +02:00
layer_widget.cpp Remove all debugging output that cannot be disabled. 2020-08-18 10:17:36 -04:00
layer_widget.h
legacy_plugin.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
legacy_plugin.h
load_select_footprint.cpp Cleanup. No changes to execution. 2020-09-30 23:07:12 +01:00
menubar_footprint_editor.cpp Rename "Keepout" to "Rule Area" 2020-09-21 23:55:02 -04:00
menubar_pcb_editor.cpp Move microwave tools into a group on the main drawing toolbar 2020-10-01 19:47:55 +01:00
netinfo.h
netinfo_item.cpp Don't allow selection of PCB_NETINFO_T. 2020-09-20 16:41:39 +01:00
netinfo_list.cpp Cleanup some dead code and make better use of iterators. 2020-08-28 11:05:58 +01:00
pad_custom_shape_functions.cpp Fix assert where geometry routine wasn't ready to handle layers. 2020-08-12 22:20:08 +01:00
pad_naming.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
pad_naming.h
pcb_base_edit_frame.cpp Don't allow editing design rules without a project 2020-09-30 19:12:26 -04:00
pcb_base_edit_frame.h Remove PCB_LAYER_WIDGET 2020-09-30 19:12:26 -04:00
pcb_base_frame.cpp Cleanup. No changes to execution. 2020-09-30 23:07:12 +01:00
pcb_display_options.cpp ADDED: Control to only show ratsnest for visible layers 2020-09-07 16:43:43 -04:00
pcb_draw_panel_gal.cpp Fix non-copper zone layer ordering 2020-09-25 23:10:52 -04:00
pcb_draw_panel_gal.h
pcb_edit_frame.cpp Move microwave tools into a group on the main drawing toolbar 2020-10-01 19:47:55 +01:00
pcb_edit_frame.h Move microwave tools into a group on the main drawing toolbar 2020-10-01 19:47:55 +01:00
pcb_expr_evaluator.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
pcb_expr_evaluator.h pcb_new: CONNECTIVITY_DATA now keeps a cache of DRC from-tos 2020-09-27 16:45:46 +02:00
pcb_layer_box_selector.cpp
pcb_layer_box_selector.h
pcb_origin_transforms.cpp Add the PCB_ORIGIN_TRANSFORMS class 2020-08-26 17:54:21 +00:00
pcb_origin_transforms.h Cleanup. No changes to execution. 2020-09-30 23:07:12 +01:00
pcb_painter.cpp Remove confusion between pad->IsOnLayer and pad->IsPadOnLayer 2020-09-30 11:50:51 +01:00
pcb_painter.h PCB_RENDER_SETTINGS: added SetZoneDisplayMode() method 2020-09-08 01:31:42 +02:00
pcb_parser.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
pcb_parser.h Cache project text vars as properties in the PCB board file. 2020-08-19 19:32:20 +01:00
pcb_plot_params.cpp
pcb_plot_params.h Move specialized plotter classes from plotter.h to specific plotter_xx.h 2020-09-27 09:54:39 +02:00
pcb_plot_params_parser.h
pcb_screen.cpp
pcb_view.cpp Rename class GROUP in pcbnew to PCB_GROUP 2020-08-12 15:36:08 +01:00
pcb_view.h
pcbnew.cpp Pcbnew: fix incorrect creation of scripting/plugins in user directory. 2020-09-17 10:47:21 +02:00
pcbnew.h Minor code cleanup, step3: remove more useless include. 2020-10-01 18:28:12 +02:00
pcbnew.icns
pcbnew.rc
pcbnew_config.cpp ADDED: Control to only show ratsnest for visible layers 2020-09-07 16:43:43 -04:00
pcbnew_config.h
pcbnew_doc.icns
pcbnew_id.h Move microwave tools into a group on the main drawing toolbar 2020-10-01 19:47:55 +01:00
pcbnew_printout.cpp Fix printing for introduction of zone layers and meta items. 2020-08-30 22:49:27 +01:00
pcbnew_printout.h Add support for print-as-per-items-tab. 2020-08-11 20:42:08 +01:00
pcbnew_settings.cpp Move microwave tools into a group on the main drawing toolbar 2020-10-01 19:47:55 +01:00
pcbnew_settings.h Move microwave tools into a group on the main drawing toolbar 2020-10-01 19:47:55 +01:00
pcbplot.cpp
pcbplot.h
plot_board_layers.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
plot_brditems_plotter.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
plotcontroller.h
plugin.cpp Minor code cleanup: remove useless include or useless code. 2020-10-01 11:36:15 +02:00
sel_layer.cpp
text_mod_grid_table.cpp FIELDS_GRID_TABLE and TEXT_MOD_GRID_TABLE: fix incorrect position of checkboxes 2020-09-04 15:41:51 +02:00
text_mod_grid_table.h
toolbars_footprint_editor.cpp Add a palette to the toolbars to display groups of actions 2020-09-27 01:00:44 +01:00
toolbars_footprint_viewer.cpp Add a palette to the toolbars to display groups of actions 2020-09-27 01:00:44 +01:00
toolbars_pcb_editor.cpp Move microwave tools into a group on the main drawing toolbar 2020-10-01 19:47:55 +01:00
tracks_cleaner.cpp Make via cleaning options clearer. 2020-08-19 11:56:28 +01:00
tracks_cleaner.h Make via cleaning options clearer. 2020-08-19 11:56:28 +01:00
undo_redo.cpp Cleanup. No changes to execution. 2020-09-30 23:07:12 +01:00
zone_filler.cpp Standardize pad type enums 2020-09-30 08:38:35 -07:00
zone_filler.h Move DebugZoneFiller to advanced config. 2020-09-23 10:52:44 +01:00
zone_settings.cpp Rename "Keepout" to "Rule Area" 2020-09-21 23:55:02 -04:00
zone_settings.h Rename "Keepout" to "Rule Area" 2020-09-21 23:55:02 -04:00
zones.h Rename "Keepout" to "Rule Area" 2020-09-21 23:55:02 -04:00
zones_by_polygon.cpp Rename "Keepout" to "Rule Area" 2020-09-21 23:55:02 -04:00
zones_functions_for_undo_redo.cpp Minor code cleanup: remove useless include or useless code. 2020-10-01 11:36:15 +02:00
zones_functions_for_undo_redo.h Convert UNDO_REDO_T to an enum class 2020-08-26 18:04:32 +00:00
zones_test_and_combine_areas.cpp Rename "Keepout" to "Rule Area" 2020-09-21 23:55:02 -04:00