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>2018-05-15 00:18:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-15 00:18:36 +0300
commitb2b8e1444ac0a9c35f4c4a6da08e58151a735c28 (patch)
tree864711a4c10e0238d3a2e512a6eab0e528970cbe /source/blender/editors/include
parentbac9c2dc7db1861400f5b37758eb23cdb9fb7325 (diff)
Manipulator: outline & helpline options for button
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_manipulator_library.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_manipulator_library.h b/source/blender/editors/include/ED_manipulator_library.h
index 7166292147e..b67af4274a6 100644
--- a/source/blender/editors/include/ED_manipulator_library.h
+++ b/source/blender/editors/include/ED_manipulator_library.h
@@ -192,6 +192,18 @@ enum {
ED_MANIPULATOR_GRAB_STYLE_CROSS_2D = 1,
};
+/* -------------------------------------------------------------------- */
+/* Button Manipulator */
+
+enum {
+ ED_MANIPULATOR_BUTTON_SHOW_OUTLINE = (1 << 0),
+ /**
+ * Draw a line from the origin to the offset (similar to an arrow)
+ * sometimes needed to show what the button edits.
+ */
+ ED_MANIPULATOR_BUTTON_SHOW_HELPLINE = (1 << 1),
+};
+
/* -------------------------------------------------------------------- */
/* Primitive Manipulator */