diff options
Diffstat (limited to 'source/blender/editors/include/ED_markers.h')
-rw-r--r-- | source/blender/editors/include/ED_markers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_markers.h b/source/blender/editors/include/ED_markers.h index e5e1f3cef10..22c171128bd 100644 --- a/source/blender/editors/include/ED_markers.h +++ b/source/blender/editors/include/ED_markers.h @@ -30,6 +30,7 @@ struct wmKeyConfig; struct bContext; +struct bAnimContext; struct TimeMarker; /* Drawing API ------------------------------ */ @@ -44,6 +45,9 @@ void draw_markers_time(const struct bContext *C, int flag); /* Backend API ----------------------------- */ +ListBase *ED_context_get_markers(const struct bContext *C); +ListBase *ED_animcontext_get_markers(const struct bAnimContext *ac); + struct TimeMarker *ED_markers_find_nearest_marker(ListBase *markers, float x); int ED_markers_find_nearest_marker_time(ListBase *markers, float x); @@ -51,6 +55,8 @@ void ED_markers_get_minmax(ListBase *markers, short sel, float *first, float *la void ED_markers_make_cfra_list(ListBase *markers, ListBase *lb, short sel); +struct TimeMarker *ED_markers_get_first_selected(ListBase *markers); + /* Operators ------------------------------ */ /* called in screen_ops.c:ED_operatortypes_screen() */ |