kicad/pcbnew/tools
Maciej Suminski 69ceae0ccf Selection tool: do not select relatively large modules
To avoid situations when a large footprint covering most of the board
area (e.g. shield connector) is always selected, even when user clicks
in a seemingly empty spot, a simple filter has been added. In case
the footprint area covers more than 90% of the view area, the large
footprint is not selected. This way large footprints do not disturb
editing when the zoom is high enough.

Fixes: lp:1636214
* https://bugs.launchpad.net/kicad/+bug/1636214
2017-12-20 17:32:00 +01:00
..
drawing_tool.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
drawing_tool.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
edit_constraints.cpp replace round() with KiROUND(), our function that is used almost everywhere for rounding, and detects int overflows in debug mode. 2015-07-17 10:26:48 +02:00
edit_constraints.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
edit_points.cpp Fixed bounding box computation for EDIT_POINTS class 2017-02-09 12:03:28 +01:00
edit_points.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
edit_tool.cpp pcbnew: fix graphical polygon movement, rotation, flipping and edit points synchronization. 2017-12-18 18:25:45 +01:00
edit_tool.h pcbnew: code formatting, removed previous module editor copy/paste functions 2017-09-30 14:28:54 +02:00
grid_helper.cpp pcbnew: fix graphical polygon movement, rotation, flipping and edit points synchronization. 2017-12-18 18:25:45 +01:00
grid_helper.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
microwave_tool.cpp Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
microwave_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
module_editor_tools.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
module_editor_tools.h pcbnew: tools for converting between custom-shaped pads and graphical shapes 2017-10-19 23:35:18 +02:00
pad_tool.cpp pcbnew: tools for converting between custom-shaped pads and graphical shapes 2017-10-19 23:35:18 +02:00
pad_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
pcb_actions.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
pcb_actions.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
pcb_bright_box.cpp Refactor BRIGHT_BOX to common so it can be used by other programs 2017-03-11 21:38:01 +01:00
pcb_bright_box.h Refactor BRIGHT_BOX to common so it can be used by other programs 2017-03-11 21:38:01 +01:00
pcb_editor_control.cpp Fixed module removal when rotating/flipping a placed module 2017-12-14 17:13:42 +01:00
pcb_editor_control.h pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00
pcb_selection_conditions.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
pcb_selection_conditions.h Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
pcb_tool.cpp PCB_TOOL: added convenience methods for accessing current SELECTION 2017-12-05 14:54:57 +01:00
pcb_tool.h PCB_TOOL: added convenience methods for accessing current SELECTION 2017-12-05 14:54:57 +01:00
pcbnew_control.cpp pcbnew: fixed stuck cursor when ForceCursorPosition() is active and cursor is moved by keyboard arrows 2017-11-16 00:43:23 +01:00
pcbnew_control.h Fix crash when appending a board in pcbnew. 2017-11-11 09:09:24 +01:00
picker_tool.cpp refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
picker_tool.h refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future 2017-11-03 23:59:02 +01:00
placement_tool.cpp Fix AlignLeft / AlignRight when using Flip Board view 2017-12-11 09:40:08 +01:00
placement_tool.h Fix AlignLeft / AlignRight when using Flip Board view 2017-12-11 09:40:08 +01:00
point_editor.cpp Fix minor compil warnings (some are for old compilers). 2017-12-18 19:52:44 +01:00
point_editor.h POINT_EDITOR: migrate to ZONE_FILLER class 2017-12-05 14:54:57 +01:00
position_relative_tool.cpp Add a gerber test file 2017-10-23 09:20:10 +02:00
position_relative_tool.h Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
selection.cpp pcbnew: Minor changes in CONNECTIVITY_DATA interface: 2017-11-15 18:34:08 +01:00
selection_tool.cpp Selection tool: do not select relatively large modules 2017-12-20 17:32:00 +01:00
selection_tool.h refactoring: implemented SELECTION_TOOL's own GetCollectorsGuide() to avoid dependency on PCB_BASE_FRAME 2017-11-03 20:02:06 +01:00
size_menu.cpp Update units in 'select track/via size' context menu 2017-12-18 17:03:07 +01:00
size_menu.h Update units in 'select track/via size' context menu 2017-12-18 17:03:07 +01:00
tool_event_utils.cpp Add cancel interactive tool action to GAL 2017-02-24 10:37:07 +01:00
tool_event_utils.h Remove some extra semicolons 2017-11-09 19:52:18 +01:00
tools_common.cpp pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00
zone_create_helper.cpp pcbnew: factored out ZONE_FILLER to a separate file 2017-12-05 14:54:57 +01:00
zone_create_helper.h Rework zone creation in GAL 2017-03-22 17:18:12 +01:00
zone_filler_tool.cpp pcbnew: factored out ZONE_FILLER to a separate file 2017-12-05 14:54:57 +01:00
zone_filler_tool.h pcbnew: Optimized zone filling algorithm. 2017-12-05 14:54:57 +01:00