diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-13 14:42:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-13 14:42:13 +0300 |
commit | 71c1bd1bd870712e27d0d56ca525cf2dbc848639 (patch) | |
tree | ad4b693eda487bcb1f02b573fdb4312efc46d59b /source/blender/editors/include/ED_manipulator_library.h | |
parent | 77eaf5cd7a4db325e68dbe4161746ca92ebd6fb0 (diff) |
Manipulator: cage2d option to grab w/ a center handle
Diffstat (limited to 'source/blender/editors/include/ED_manipulator_library.h')
-rw-r--r-- | source/blender/editors/include/ED_manipulator_library.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_manipulator_library.h b/source/blender/editors/include/ED_manipulator_library.h index f9f4e052e7c..9a74a9f50ed 100644 --- a/source/blender/editors/include/ED_manipulator_library.h +++ b/source/blender/editors/include/ED_manipulator_library.h @@ -97,6 +97,13 @@ enum { ED_MANIPULATOR_CAGE2D_XFORM_FLAG_SCALE_SIGNED = (1 << 4), /* Negative scale allowed */ }; +/* draw_options */ +enum { + /** Draw a central handle (instead of having the entire area selectable) + * Needed for large rectangles that we don't want to swallow all events. */ + ED_MANIPULATOR_CAGE2D_STYLE_FLAG_XFORM_CENTER_HANDLE = (1 << 0), +}; + /** #wmManipulator.highlight_part */ enum { ED_MANIPULATOR_CAGE2D_PART_TRANSLATE = 0, |