Blender V4.3
ED_markers.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2008 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11struct Scene;
12struct TimeMarker;
13struct bAnimContext;
14struct bContext;
15struct wmKeyConfig;
16
17/* -------------------------------------------------------------------- */
22enum {
26};
27
29void ED_markers_draw(const bContext *C, int flag);
30
33/* -------------------------------------------------------------------- */
45
58 ListBase *markers, Scene *scene, int mode, float value, char side);
59
69
70void ED_markers_get_minmax(ListBase *markers, short sel, float *r_first, float *r_last);
71
77void ED_markers_make_cfra_list(ListBase *markers, ListBase *lb, bool only_selected);
78
80
85
88/* -------------------------------------------------------------------- */
99void ED_keymap_marker(wmKeyConfig *keyconf);
100
105
void ED_keymap_marker(wmKeyConfig *keyconf)
int ED_markers_post_apply_transform(ListBase *markers, Scene *scene, int mode, float value, char side)
ListBase * ED_animcontext_get_markers(const bAnimContext *ac)
void ED_markers_get_minmax(ListBase *markers, short sel, float *r_first, float *r_last)
void ED_markers_make_cfra_list(ListBase *markers, ListBase *lb, bool only_selected)
void ED_operatortypes_marker()
int ED_markers_find_nearest_marker_time(ListBase *markers, float x)
@ DRAW_MARKERS_MARGIN
Definition ED_markers.hh:25
@ DRAW_MARKERS_LOCAL
Definition ED_markers.hh:24
@ DRAW_MARKERS_LINES
Definition ED_markers.hh:23
ListBase * ED_context_get_markers(const bContext *C)
TimeMarker * ED_markers_find_nearest_marker(ListBase *markers, float x)
TimeMarker * ED_markers_get_first_selected(ListBase *markers)
void ED_markers_deselect_all(ListBase *markers, int action)
void debug_markers_print_list(ListBase *markers)
void ED_markers_draw(const bContext *C, int flag)
const vector< Marker > & markers
uint8_t flag
Definition wm_window.cc:138