Blender V4.3
ED_keyframes_draw.hh File Reference

Go to the source code of this file.

Classes

struct  KeyframeShaderBindings
 

Functions

void draw_keyframe_shape (float x, float y, float size, bool sel, eBezTriple_KeyframeType key_type, eKeyframeShapeDrawOpts mode, float alpha, const KeyframeShaderBindings *sh_bindings, short handle_type, short extreme_type)
 
void ED_add_fcurve_channel (ChannelDrawList *draw_list, AnimData *adt, FCurve *fcu, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_action_group_channel (ChannelDrawList *draw_list, AnimData *adt, bActionGroup *agrp, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_action_layered_channel (ChannelDrawList *channel_list, AnimData *adt, bAction *action, const float ypos, const float yscale_fac, int saction_flag)
 
void ED_add_action_slot_channel (ChannelDrawList *channel_list, AnimData *adt, blender::animrig::Action &action, blender::animrig::Slot &slot, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_action_channel (ChannelDrawList *draw_list, AnimData *adt, bAction *act, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_object_channel (ChannelDrawList *draw_list, bDopeSheet *ads, Object *ob, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_scene_channel (ChannelDrawList *draw_list, bDopeSheet *ads, Scene *sce, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_summary_channel (ChannelDrawList *draw_list, bAnimContext *ac, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_grease_pencil_cels_channel (ChannelDrawList *draw_list, bDopeSheet *ads, const GreasePencilLayer *layer, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_grease_pencil_layer_group_channel (ChannelDrawList *draw_list, bDopeSheet *ads, const GreasePencilLayerTreeGroup *layer, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_grease_pencil_datablock_channel (ChannelDrawList *draw_list, bAnimContext *ac, AnimData *adt, const GreasePencil *grease_pencil, const float ypos, const float yscale_fac, int saction_flag)
 
void ED_add_grease_pencil_layer_legacy_channel (ChannelDrawList *draw_list, bDopeSheet *ads, bGPDlayer *gpl, float ypos, float yscale_fac, int saction_flag)
 
void ED_add_mask_layer_channel (ChannelDrawList *draw_list, bDopeSheet *ads, MaskLayer *masklay, float ypos, float yscale_fac, int saction_flag)
 
ChannelDrawListED_channel_draw_list_create ()
 
void ED_channel_list_flush (ChannelDrawList *draw_list, View2D *v2d)
 
void ED_channel_list_free (ChannelDrawList *draw_list)
 

Function Documentation

◆ draw_keyframe_shape()

void draw_keyframe_shape ( float x,
float y,
float size,
bool sel,
eBezTriple_KeyframeType key_type,
eKeyframeShapeDrawOpts mode,
float alpha,
const KeyframeShaderBindings * sh_bindings,
short handle_type,
short extreme_type )

◆ ED_add_action_channel()

void ED_add_action_channel ( ChannelDrawList * draw_list,
AnimData * adt,
bAction * act,
float ypos,
float yscale_fac,
int saction_flag )

◆ ED_add_action_group_channel()

◆ ED_add_action_layered_channel()

void ED_add_action_layered_channel ( ChannelDrawList * channel_list,
AnimData * adt,
bAction * action,
const float ypos,
const float yscale_fac,
int saction_flag )

◆ ED_add_action_slot_channel()

◆ ED_add_fcurve_channel()

◆ ED_add_grease_pencil_cels_channel()

void ED_add_grease_pencil_cels_channel ( ChannelDrawList * draw_list,
bDopeSheet * ads,
const GreasePencilLayer * layer,
float ypos,
float yscale_fac,
int saction_flag )

◆ ED_add_grease_pencil_datablock_channel()

void ED_add_grease_pencil_datablock_channel ( ChannelDrawList * draw_list,
bAnimContext * ac,
AnimData * adt,
const GreasePencil * grease_pencil,
const float ypos,
const float yscale_fac,
int saction_flag )

◆ ED_add_grease_pencil_layer_group_channel()

void ED_add_grease_pencil_layer_group_channel ( ChannelDrawList * draw_list,
bDopeSheet * ads,
const GreasePencilLayerTreeGroup * layer,
float ypos,
float yscale_fac,
int saction_flag )

◆ ED_add_grease_pencil_layer_legacy_channel()

void ED_add_grease_pencil_layer_legacy_channel ( ChannelDrawList * draw_list,
bDopeSheet * ads,
bGPDlayer * gpl,
float ypos,
float yscale_fac,
int saction_flag )

◆ ED_add_mask_layer_channel()

void ED_add_mask_layer_channel ( ChannelDrawList * draw_list,
bDopeSheet * ads,
MaskLayer * masklay,
float ypos,
float yscale_fac,
int saction_flag )

◆ ED_add_object_channel()

void ED_add_object_channel ( ChannelDrawList * draw_list,
bDopeSheet * ads,
Object * ob,
float ypos,
float yscale_fac,
int saction_flag )

◆ ED_add_scene_channel()

void ED_add_scene_channel ( ChannelDrawList * draw_list,
bDopeSheet * ads,
Scene * sce,
float ypos,
float yscale_fac,
int saction_flag )

◆ ED_add_summary_channel()

void ED_add_summary_channel ( ChannelDrawList * draw_list,
bAnimContext * ac,
float ypos,
float yscale_fac,
int saction_flag )

Definition at line 658 of file keyframes_draw.cc.

References ChannelListElement::ac, channel_list_add_element(), and SUMMARY.

Referenced by draw_keyframes().

◆ ED_channel_draw_list_create()

ChannelDrawList * ED_channel_draw_list_create ( )

Definition at line 533 of file keyframes_draw.cc.

References MEM_callocN.

Referenced by draw_keyframes().

◆ ED_channel_list_flush()

void ED_channel_list_flush ( ChannelDrawList * draw_list,
View2D * v2d )

◆ ED_channel_list_free()

void ED_channel_list_free ( ChannelDrawList * draw_list)