Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-09-13 14:42:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-09-13 14:42:13 +0300
commit71c1bd1bd870712e27d0d56ca525cf2dbc848639 (patch)
treead4b693eda487bcb1f02b573fdb4312efc46d59b /source/blender/editors/include/ED_manipulator_library.h
parent77eaf5cd7a4db325e68dbe4161746ca92ebd6fb0 (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.h7
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,