• Garth Corral's avatar
    - Changed mousewheel handling to pan more smoothly rather than in larger · 4b9db692
    Garth Corral authored
      steps to better support devices with precise scrolling deltas (trackpads).
      Scrolling is done in the handler rather than creating and firing cmd events.
      This is intended to support two-finger scrolling on the Magic Trackpad.
    - Added a preference, 'Use mousewheel to pan', to allow panning by default
      on mousewheel events.  This reverses the existing behavior where unmodified 
      mousewheel zooms and Shift/Cmd modified pans.  
    
      The old behavior was:
      - Unmodified scrollwheel performed zoom in/out
      - Shift modified scrollwheel performed pan up/down
      - Cmd modified scrollwheel performed pan left/right
      - Shift+Cmd modified scrollwheel performed zoom in/out
        with no cursor warp
    
      With the new preference checked, this changes to:
    
      - Unmodified scrollwheel performs pan up/down
      - Shift modified scrollwheel performs pan left/right
      - Cmd modified scrollwheel performs zoom in/out
      - Shift+Cmd modified scrollwheel performs zoom in/out
        with no cursor warp
    
      With the preference unchecked, this is now:
      - Unmodified scrollwheel performed zoom in/out
      - Shift modified scrollwheel performed pan left/right
      - Cmd modified scrollwheel performed pan up/down
      - Shift+Cmd modified scrollwheel performed zoom in/out
        with no cursor warp
    
      It should be noted that for the last case, the behavior has changed.
      This is not arbitrary.  This now matches expected behavior for an OS X
      application.  This also matches what wxWidgets expects on this platform
      as wxWidgets changes the axis of mousewheel events to horizontal when
      the event is shift-modified.
    
      The preference is added everwhere that mouse preferences previously
      existed, i.e., eeschema, pcbnew and gerbview.  The 3D Viewer does
      not yet honor this preference, but behaves as if it was checked.
      The pl_editor does not currently have any preferences to honor.
    
      As with the magnify event support, this covers canvases for all
      current tools, EDA_DRAW_PANEL, EDA_3D_CANVAS and EDA_DRAW_PANEL_GAL.
    
      This does NOT modify the behavior of mousewheel zooming, though it
      probably should.  This remains unsuitable for use with a trackpad,
      use pinch-to-zoom instead.
    4b9db692
Name
Last commit
Last update
..
core Loading commit data...
gal Loading commit data...
geometry Loading commit data...
math Loading commit data...
tool Loading commit data...
ttl Loading commit data...
view Loading commit data...
HersheyCyrillic.h.unused Loading commit data...
base_struct.h Loading commit data...
base_units.h Loading commit data...
bezier_curves.h Loading commit data...
bin_mod.h Loading commit data...
bitmaps.h Loading commit data...
block_commande.h Loading commit data...
build_version.h Loading commit data...
class_base_screen.h Loading commit data...
class_bitmap_base.h Loading commit data...
class_board_design_settings.h Loading commit data...
class_board_item.h Loading commit data...
class_collector.h Loading commit data...
class_colors_design_settings.h Loading commit data...
class_draw_panel_gal.h Loading commit data...
class_drawpanel.h Loading commit data...
class_drc_item.h Loading commit data...
class_layer_box_selector.h Loading commit data...
class_macros_record.h Loading commit data...
class_marker_base.h Loading commit data...
class_pcb_screen.h Loading commit data...
class_sch_screen.h Loading commit data...
class_title_block.h Loading commit data...
class_undoredo_container.h Loading commit data...
class_worksheet_dataitem.h Loading commit data...
colors.h Loading commit data...
colors_selection.h Loading commit data...
common.h Loading commit data...
config_params.h Loading commit data...
confirm.h Loading commit data...
convert_basic_shapes_to_polygon.h Loading commit data...
convert_from_iu.h Loading commit data...
convert_to_biu.h Loading commit data...
dcsvg.h.unused Loading commit data...
dialog_get_component.h Loading commit data...
dialog_helpers.h Loading commit data...
dialog_hotkeys_editor.h Loading commit data...
dialog_shim.h Loading commit data...
dlist.h Loading commit data...
draw_frame.h Loading commit data...
drawtxt.h Loading commit data...
dsnlexer.h Loading commit data...
eda_dde.h Loading commit data...
eda_doc.h Loading commit data...
eda_text.h Loading commit data...
fctsys.h Loading commit data...
filter_reader.h Loading commit data...
footprint_info.h Loading commit data...
fp_lib_table.h Loading commit data...
fpid.h Loading commit data...
frame_type.h Loading commit data...
gestfich.h Loading commit data...
gr_basic.h Loading commit data...
grid_tricks.h Loading commit data...
hashtables.h Loading commit data...
hotkeys_basic.h Loading commit data...
html_messagebox.h Loading commit data...
id.h Loading commit data...
import_export.h Loading commit data...
ki_mutex.h Loading commit data...
kicad_device_context.h Loading commit data...
kicad_string.h Loading commit data...
kiface_i.h Loading commit data...
kiway.h Loading commit data...
kiway_express.h Loading commit data...
kiway_mgr.h Loading commit data...
kiway_player.h Loading commit data...
layers_id_colors_and_visibility.h Loading commit data...
length.h.usuned Loading commit data...
macros.h Loading commit data...
mail_type.h Loading commit data...
menus_helpers.h Loading commit data...
msgpanel.h Loading commit data...
newstroke_font.h Loading commit data...
online_help.h Loading commit data...
pad_shapes.h Loading commit data...
painter.h Loading commit data...
pcbcommon.h Loading commit data...
pcbstruct.h Loading commit data...
pgm_base.h Loading commit data...
plot_common.h Loading commit data...
profile.h Loading commit data...
project.h Loading commit data...
ptree.h Loading commit data...
reporter.h Loading commit data...
richio.h Loading commit data...
sch_base_frame.h Loading commit data...
sch_item_struct.h Loading commit data...
search_stack.h Loading commit data...
trigo.h Loading commit data...
utf8.h Loading commit data...
validators.h Loading commit data...
wildcards_and_files_ext.h Loading commit data...
worksheet.h Loading commit data...
worksheet_shape_builder.h Loading commit data...
worksheet_viewitem.h Loading commit data...
wxBasePcbFrame.h Loading commit data...
wxEeschemaStruct.h Loading commit data...
wxPcbStruct.h Loading commit data...
wxstruct.h Loading commit data...
wxunittext.h Loading commit data...
xnode.h Loading commit data...