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>2019-05-31 14:45:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-31 14:51:02 +0300
commita9450dbf0d8bd3f4d03808220fbc4353ce563d3f (patch)
tree162394bf6fab05bca3e34e2b93e6cf03975f3d99 /source/blender/editors/include/UI_view2d.h
parent56a533c0711a486375408afaa7ac51da1613ccee (diff)
Gizmo: add 2D navigation for image/clip/sequencer views
Diffstat (limited to 'source/blender/editors/include/UI_view2d.h')
-rw-r--r--source/blender/editors/include/UI_view2d.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h
index 42ac3bb30d8..4f880a8d46f 100644
--- a/source/blender/editors/include/UI_view2d.h
+++ b/source/blender/editors/include/UI_view2d.h
@@ -99,6 +99,7 @@ struct ScrArea;
struct bContext;
struct bScreen;
struct rctf;
+struct wmGizmoGroupType;
struct wmKeyConfig;
typedef struct View2DScrollers View2DScrollers;
@@ -262,4 +263,10 @@ void UI_view2d_smooth_view(struct bContext *C,
#define UI_MARKER_MARGIN_Y (42 * UI_DPI_FAC)
#define UI_TIME_SCRUB_MARGIN_Y (23 * UI_DPI_FAC)
+/* Gizmo Types */
+
+/* view2d_gizmo_navigate.c */
+/* Caller passes in own idname. */
+void VIEW2D_GGT_navigate_impl(struct wmGizmoGroupType *gzgt, const char *idname);
+
#endif /* __UI_VIEW2D_H__ */