kicad/gerbview
Martin Sivak d5cdd78062 eeschema: keystroke zoom should obey disabled centering
Keystroke zoom (F1/F2) always centered the screen, because it
was handled as ID_POPUP_ZOOM_IN event. Mousewheel scrolling
was ok, because it is handled using different event based
on the configuration.

This patch introduces special event ids for keystroke
zooming that are then properly translated to either
ID_POPUP_ZOOM_IN or ID_OFFCENTER_ZOOM_IN depending
on the configuration.

The same issue is fixed for legacy canvas pcbnew.

Fixes: lp:1742567
* https://bugs.launchpad.net/kicad/+bug/1742567

Signed-off-by: Martin Sivak <mars@montik.net>
2018-01-27 20:20:32 -05:00
..
dialogs Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
gerber_test_files Add a gerber test file 2017-10-23 09:20:10 +02:00
tools Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
CMakeLists.txt GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
Info.plist Changed the bundle identifier to org.kicad-pcb.<app> to follow the kicad domain name 2015-10-30 08:43:04 +13:00
block.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_DCodeSelectionbox.cpp Gerbview: better management of d_codes list in toolbars. 2016-08-17 10:19:10 +02:00
class_DCodeSelectionbox.h Gerbview: better management of d_codes list in toolbars. 2016-08-17 10:19:10 +02:00
class_X2_gerber_attributes.cpp Fix typo and and comment 2017-09-29 07:58:15 +02:00
class_X2_gerber_attributes.h Fix typo and and comment 2017-09-29 07:58:15 +02:00
class_am_param.cpp Fix aperture macro hit testing (partial fix of lp:1730249) 2017-11-12 10:22:18 +01:00
class_am_param.h Gerbview: evaluate Aperture Macro Parameters using precedence rules for the arithmetic expressions found in AM. 2017-04-10 18:44:32 +02:00
class_aperture_macro.cpp Fix aperture macro hit testing (partial fix of lp:1730249) 2017-11-12 10:22:18 +01:00
class_aperture_macro.h Fix aperture macro hit testing (partial fix of lp:1730249) 2017-11-12 10:22:18 +01:00
class_excellon.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
class_gbr_display_options.h Gerbview: fix an issue in legacy mode (locate items was not working) 2017-10-23 11:32:05 +02:00
class_gbr_layer_box_selector.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gbr_layer_box_selector.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
class_gbr_layout.cpp Gerbview: refinements in D_Code display. 2017-11-13 11:30:23 +01:00
class_gbr_layout.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gbr_screen.cpp Code cleanup: Remove outdated decimils to/from iu defines and conversion functions (decimils are no more in use since a long time). 2016-06-05 13:49:25 +02:00
class_gbr_screen.h Explicitly mark overriding functions. 2016-09-24 14:53:15 -04:00
class_gerber_draw_item.cpp Gerbview: refinements in D_Code display. 2017-11-13 11:30:23 +01:00
class_gerber_draw_item.h pcbnew: fix graphical polygon movement, rotation, flipping and edit points synchronization. 2017-12-18 18:25:45 +01:00
class_gerber_file_image.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
class_gerber_file_image.h gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
class_gerber_file_image_list.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gerber_file_image_list.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
class_gerbview_layer_widget.cpp Gerbview: apply layer colors to GAL after sorting (Fixes lp:1720540) 2017-11-27 08:23:17 +01:00
class_gerbview_layer_widget.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
clear_gbr_drawlayers.cpp Reset tools when clearing gerber draw layers 2018-01-22 08:44:55 +01:00
controle.cpp hotkey management: enhancements in code to know if a hotkey was handled by an event or not. 2017-10-06 09:23:13 +02:00
dcode.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
dcode.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
draw_gerber_screen.cpp Code formatting 2017-09-25 13:35:02 +02:00
evaluate.cpp Gerbview: evaluate Aperture Macro Parameters using precedence rules for the arithmetic expressions found in AM. 2017-04-10 18:44:32 +02:00
events_called_functions.cpp Move SwitchCanvas() implementation to EDA_DRAW_FRAME 2018-01-22 09:06:55 +01:00
excellon_read_drill_file.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
export_to_pcbnew.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
files.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
gerber_collectors.cpp GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
gerber_collectors.h GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
gerbview.cpp Fp editor and board editor have now a separate color setup. 2017-09-11 18:51:48 +02:00
gerbview.h Refactor layer enumerations to all live in the same place 2017-03-30 16:01:48 -04:00
gerbview.icns [MacOSX] Updated Icons - Document ones still missing :( 2012-09-27 19:20:44 +02:00
gerbview.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
gerbview_config.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
gerbview_doc.icns Update OS X icns icons 2010-05-13 21:03:12 +02:00
gerbview_draw_panel_gal.cpp refactoring: forgot to add VIEW/VIEW_CONTROLS initialization in gerber, causig a crash. Fixing. 2017-11-05 22:09:56 +01:00
gerbview_draw_panel_gal.h GerbView GAL support part 2: New files for GAL 2017-09-25 13:35:01 +02:00
gerbview_frame.cpp Fix assertion failure quitting gerbview 2018-01-22 21:16:10 +01:00
gerbview_frame.h Move SwitchCanvas() implementation to EDA_DRAW_FRAME 2018-01-22 09:06:55 +01:00
gerbview_id.h Add a first-run dialog to encourage user to switch to OpenGL 2018-01-04 10:14:40 -05:00
gerbview_painter.cpp Some coverity fixes 2018-01-05 22:51:03 -07:00
gerbview_painter.h Some coverity fixes 2018-01-05 22:51:03 -07:00
hotkeys.cpp eeschema: keystroke zoom should obey disabled centering 2018-01-27 20:20:32 -05:00
hotkeys.h GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
job_file_reader.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
locate.cpp Gerbview: fix an issue in legacy mode (locate items was not working) 2017-10-23 11:32:05 +02:00
menubar.cpp Use generic Save (and New and Open) commands where unambiguous. 2018-01-16 08:39:12 -05:00
onleftclick.cpp GerbView GAL support part 1: changes to existing files 2017-09-25 13:35:01 +02:00
onrightclick.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
printout_control.cpp Fix unnecessary copy initialization detected by clang-tidy 2018-01-09 18:22:10 -05:00
readgerb.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
rs274_read_XY_and_IJ_coordinates.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
rs274d.cpp gerbview: Corrects handling of %FSD statement 2017-09-29 07:40:58 +02:00
rs274x.cpp Gerbview: avoid a crash with malformed Gerber files. 2017-10-24 18:09:33 +02:00
select_layers_to_pcb.cpp * Gerbview: update a old code in a dialog. 2018-01-05 11:45:50 +01:00
select_layers_to_pcb.h * Gerbview: update a old code in a dialog. 2018-01-05 11:45:50 +01:00
toolbars_gerber.cpp Cleanup of KiCad Icons 2018-01-12 14:06:45 -05:00