WM: refactor gestures for use as tools
authorCampbell Barton <ideasman42@gmail.com>
Mon, 16 Oct 2017 10:58:51 +0000 (21:58 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 16 Oct 2017 11:21:46 +0000 (22:21 +1100)
commit870b4b673511094cf0beaeaf07305407ccdda47a
treefb91f7c424f1971c35d537e520c519117e38f9d9
parent6d8f63a8343a6c0b44318f0a856dcd0fd0206131
WM: refactor gestures for use as tools

Border and circle select wait for input by default.
This commit uses bool properties on the operators instead of
magic number (called "gesture_mode").

Keymaps that define 'deselect' for border/circle select
begin immediately, exiting when on button release.
28 files changed:
source/blender/editors/animation/anim_channels_edit.c
source/blender/editors/animation/anim_markers.c
source/blender/editors/gpencil/gpencil_select.c
source/blender/editors/interface/view2d_ops.c
source/blender/editors/mask/mask_select.c
source/blender/editors/sculpt_paint/paint_mask.c
source/blender/editors/space_action/action_select.c
source/blender/editors/space_clip/clip_graph_ops.c
source/blender/editors/space_clip/tracking_select.c
source/blender/editors/space_file/file_ops.c
source/blender/editors/space_graph/graph_select.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_info/info_report.c
source/blender/editors/space_nla/nla_select.c
source/blender/editors/space_node/node_edit.c
source/blender/editors/space_node/node_select.c
source/blender/editors/space_outliner/outliner_select.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_sequencer/sequencer_select.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_select.c
source/blender/editors/uvedit/uvedit_ops.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/intern/wm_gesture.c
source/blender/windowmanager/intern/wm_operator_props.c
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/wm_event_types.h