Blender  V2.93
Enumerations | Functions
ED_markers.h File Reference

Go to the source code of this file.

Enumerations

enum  { DRAW_MARKERS_LINES = (1 << 0) , DRAW_MARKERS_LOCAL = (1 << 1) , DRAW_MARKERS_MARGIN = (1 << 2) }
 

Functions

void ED_markers_draw (const struct bContext *C, int flag)
 
ListBase * ED_context_get_markers (const struct bContext *C)
 
ListBase * ED_animcontext_get_markers (const struct bAnimContext *ac)
 
int ED_markers_post_apply_transform (ListBase *markers, struct Scene *scene, int mode, float value, char side)
 
struct TimeMarker * ED_markers_find_nearest_marker (ListBase *markers, float x)
 
int ED_markers_find_nearest_marker_time (ListBase *markers, float x)
 
void ED_markers_get_minmax (ListBase *markers, short sel, float *first, float *last)
 
void ED_markers_make_cfra_list (ListBase *markers, ListBase *lb, short sel)
 
void ED_markers_deselect_all (ListBase *markers, int action)
 
struct TimeMarker * ED_markers_get_first_selected (ListBase *markers)
 
void ED_operatortypes_marker (void)
 
void ED_keymap_marker (struct wmKeyConfig *keyconf)
 
void debug_markers_print_list (struct ListBase *markers)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DRAW_MARKERS_LINES 
DRAW_MARKERS_LOCAL 
DRAW_MARKERS_MARGIN 

Definition at line 39 of file ED_markers.h.

Function Documentation

◆ debug_markers_print_list()

void debug_markers_print_list ( struct ListBase *  markers)

◆ ED_animcontext_get_markers()

ListBase* ED_animcontext_get_markers ( const struct bAnimContext *  ac)

◆ ED_context_get_markers()

ListBase* ED_context_get_markers ( const struct bContext *  C)

◆ ED_keymap_marker()

void ED_keymap_marker ( struct wmKeyConfig *  keyconf)

Definition at line 1718 of file anim_markers.c.

References WM_keymap_ensure().

Referenced by ED_spacetypes_keymap().

◆ ED_markers_deselect_all()

void ED_markers_deselect_all ( ListBase *  markers,
int  action 
)

◆ ED_markers_draw()

void ED_markers_draw ( const struct bContext *  C,
int  flag 
)

◆ ED_markers_find_nearest_marker()

struct TimeMarker* ED_markers_find_nearest_marker ( ListBase *  markers,
float  x 
)

◆ ED_markers_find_nearest_marker_time()

int ED_markers_find_nearest_marker_time ( ListBase *  markers,
float  x 
)

◆ ED_markers_get_first_selected()

struct TimeMarker* ED_markers_get_first_selected ( ListBase *  markers)

◆ ED_markers_get_minmax()

void ED_markers_get_minmax ( ListBase *  markers,
short  sel,
float *  first,
float *  last 
)

◆ ED_markers_make_cfra_list()

void ED_markers_make_cfra_list ( ListBase *  markers,
ListBase *  lb,
short  sel 
)

◆ ED_markers_post_apply_transform()

int ED_markers_post_apply_transform ( ListBase *  markers,
Scene *  scene,
int  mode,
float  value,
char  side 
)

Apply some transformation to markers after the fact

Parameters
markersList of markers to affect - this may or may not be the scene markers list, so don't assume anything.
sceneCurrent scene (for getting current frame)
mode(TfmMode) transform mode that this transform is for
valueFrom the transform code, this is t->vec[0] (which is delta transform for grab/extend, and scale factor for scale)
side(B/L/R) for 'extend' functionality, which side of current frame to use

Definition at line 130 of file anim_markers.c.

References CFRA, TimeMarker::flag, float(), TimeMarker::frame, ToolSettings::lock_markers, markers, TimeMarker::next, NULL, round_fl_to_int(), scene, SELECT, TFM_TIME_EXTEND, TFM_TIME_SCALE, TFM_TIME_TRANSLATE, and Scene::toolsettings.

Referenced by special_aftertrans_update__actedit(), and special_aftertrans_update__sequencer().

◆ ED_operatortypes_marker()

void ED_operatortypes_marker ( void  )