kicad/common/tool
Jeff Young 4bae901dc8 Centralize zoom-to-fit code.
Fixes a bunch of errors:
- libedit and libbrowser would zoom to bounding box but centre on canvas
- libedit, libbrowser and gerbview didn’t take the scroll bars into account
- pcbnew didn’t take scroll bars into account or apply the 10% margin
- appending a board file would re-centre, but not re-zoom

Fixes: lp:1504302
* https://bugs.launchpad.net/kicad/+bug/1504302
2018-02-13 20:06:03 -05:00
..
action_manager.cpp refactoring: allow to run TOOL_MANAGER and SELECTION_TOOL without a host wxFrame 2017-11-03 20:02:06 +01:00
actions.cpp Move ZOOM_TOOL to common; add RMB-drag to zoom out 2017-08-31 10:04:00 +02:00
common_tools.cpp Centralize zoom-to-fit code. 2018-02-13 20:06:03 -05:00
conditional_menu.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
context_menu.cpp Cosmetic enhancement in GAL: disambiguationMenu: add icons in menuitems, like in Legacy mode. 2017-12-13 19:42:33 +01:00
grid_menu.cpp Fix code after renaming files 2018-01-29 11:37:29 +01:00
selection_conditions.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
tool_action.cpp Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
tool_base.cpp fix code after renaming files 2018-01-29 22:00:44 +01:00
tool_dispatcher.cpp fix code after renaming files 2018-01-29 22:00:44 +01:00
tool_event.cpp Fix loop variable copy in for-range loop, use const reference instead 2018-01-09 19:18:44 -05:00
tool_interactive.cpp Prevent creating too many transitions by TOOL_MANAGER 2017-07-31 15:09:19 +02:00
tool_manager.cpp Do not override cursor position when context menu is active 2018-02-12 11:21:07 +01:00
tool_menu.cpp Refactor SELECTION, SELECTION_CONDITIONS, and context menus to common 2017-02-28 14:47:20 +01:00
zoom_menu.cpp Fix code after renaming files 2018-01-29 11:37:29 +01:00
zoom_tool.cpp fix code after renaming files 2018-01-29 22:00:44 +01:00