Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | KeyframeShaderBindings |
Typedefs | |
typedef struct KeyframeShaderBindings | KeyframeShaderBindings |
Functions | |
void | draw_keyframe_shape (float x, float y, float size, bool sel, short key_type, short mode, float alpha, const KeyframeShaderBindings *sh_bindings, short handle_type, short extreme_type) |
void | draw_fcurve_channel (struct AnimKeylistDrawList *draw_list, struct AnimData *adt, struct FCurve *fcu, float ypos, float yscale_fac, int saction_flag) |
void | draw_agroup_channel (struct AnimKeylistDrawList *draw_list, struct AnimData *adt, struct bActionGroup *agrp, float ypos, float yscale_fac, int saction_flag) |
void | draw_action_channel (struct AnimKeylistDrawList *draw_list, struct AnimData *adt, struct bAction *act, float ypos, float yscale_fac, int saction_flag) |
void | draw_object_channel (struct AnimKeylistDrawList *draw_list, struct bDopeSheet *ads, struct Object *ob, float ypos, float yscale_fac, int saction_flag) |
void | draw_scene_channel (struct AnimKeylistDrawList *draw_list, struct bDopeSheet *ads, struct Scene *sce, float ypos, float yscale_fac, int saction_flag) |
void | draw_summary_channel (struct AnimKeylistDrawList *draw_list, struct bAnimContext *ac, float ypos, float yscale_fac, int saction_flag) |
void | draw_gpl_channel (struct AnimKeylistDrawList *draw_list, struct bDopeSheet *ads, struct bGPDlayer *gpl, float ypos, float yscale_fac, int saction_flag) |
void | draw_masklay_channel (struct AnimKeylistDrawList *draw_list, struct bDopeSheet *ads, struct MaskLayer *masklay, float ypos, float yscale_fac, int saction_flag) |
struct AnimKeylistDrawList * | ED_keylist_draw_list_create (void) |
void | ED_keylist_draw_list_flush (struct AnimKeylistDrawList *draw_list, struct View2D *v2d) |
void | ED_keylist_draw_list_free (struct AnimKeylistDrawList *draw_list) |
typedef struct KeyframeShaderBindings KeyframeShaderBindings |
void draw_action_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct AnimData * | adt, | ||
struct bAction * | act, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 690 of file keyframes_draw.c.
References AnimKeylistDrawListElem::act, AnimKeylistDrawListElem::adt, ANIM_KEYLIST_ACTION, AnimKeylistDrawListElem::channel_locked, ed_keylist_draw_list_add_elem(), ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, and SACTION_SHOW_EXTREMES.
Referenced by draw_channel_strips().
void draw_agroup_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct AnimData * | adt, | ||
struct bActionGroup * | agrp, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 672 of file keyframes_draw.c.
References AnimData::action, AnimKeylistDrawListElem::adt, AnimKeylistDrawListElem::agrp, AGRP_PROTECTED, ANIM_KEYLIST_AGROUP, AnimKeylistDrawListElem::channel_locked, ed_keylist_draw_list_add_elem(), bActionGroup::flag, ID_IS_LINKED, and ID_IS_OVERRIDE_LIBRARY.
Referenced by draw_channel_strips().
void draw_fcurve_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct AnimData * | adt, | ||
struct FCurve * | fcu, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 653 of file keyframes_draw.c.
References AnimData::action, AnimKeylistDrawListElem::adt, AGRP_PROTECTED, ANIM_KEYLIST_FCURVE, AnimKeylistDrawListElem::channel_locked, ed_keylist_draw_list_add_elem(), AnimKeylistDrawListElem::fcu, FCURVE_PROTECTED, bActionGroup::flag, FCurve::flag, FCurve::grp, ID_IS_LINKED, and ID_IS_OVERRIDE_LIBRARY.
Referenced by draw_channel_strips().
void draw_gpl_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct bDopeSheet * | ads, | ||
struct bGPDlayer * | gpl, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 707 of file keyframes_draw.c.
References AnimKeylistDrawListElem::ads, ANIM_KEYLIST_GP_LAYER, AnimKeylistDrawListElem::channel_locked, ed_keylist_draw_list_add_elem(), bGPDlayer::flag, GP_LAYER_LOCKED, and AnimKeylistDrawListElem::gpl.
Referenced by draw_channel_strips().
void draw_keyframe_shape | ( | float | x, |
float | y, | ||
float | size, | ||
bool | sel, | ||
short | key_type, | ||
short | mode, | ||
float | alpha, | ||
const KeyframeShaderBindings * | sh_bindings, | ||
short | handle_type, | ||
short | extreme_type | ||
) |
Definition at line 37 of file keyframes_draw.c.
References BEZT_KEYTYPE_BREAKDOWN, BEZT_KEYTYPE_EXTREME, BEZT_KEYTYPE_JITTER, BEZT_KEYTYPE_KEYFRAME, BEZT_KEYTYPE_MOVEHOLD, BLI_assert, KeyframeShaderBindings::color_id, ELEM, KeyframeShaderBindings::flags_id, GPU_KEYFRAME_SHAPE_ARROW_END_MAX, GPU_KEYFRAME_SHAPE_ARROW_END_MIN, GPU_KEYFRAME_SHAPE_ARROW_END_MIXED, GPU_KEYFRAME_SHAPE_CIRCLE, GPU_KEYFRAME_SHAPE_CLIPPED_VERTICAL, GPU_KEYFRAME_SHAPE_DIAMOND, GPU_KEYFRAME_SHAPE_INNER_DOT, GPU_KEYFRAME_SHAPE_SQUARE, immAttr1f(), immAttr1u(), immAttr4ubv(), immVertex2f(), KEYFRAME_EXTREME_MAX, KEYFRAME_EXTREME_MIN, KEYFRAME_HANDLE_ALIGNED, KEYFRAME_HANDLE_AUTO, KEYFRAME_HANDLE_AUTO_CLAMP, KEYFRAME_HANDLE_FREE, KEYFRAME_HANDLE_VECTOR, KEYFRAME_SHAPE_BOTH, KEYFRAME_SHAPE_FRAME, KEYFRAME_SHAPE_INSIDE, KeyframeShaderBindings::outline_color_id, KeyframeShaderBindings::pos_id, size(), KeyframeShaderBindings::size_id, TH_KEYBORDER, TH_KEYBORDER_SELECT, TH_KEYTYPE_BREAKDOWN, TH_KEYTYPE_BREAKDOWN_SELECT, TH_KEYTYPE_EXTREME, TH_KEYTYPE_EXTREME_SELECT, TH_KEYTYPE_JITTER, TH_KEYTYPE_JITTER_SELECT, TH_KEYTYPE_KEYFRAME, TH_KEYTYPE_KEYFRAME_SELECT, TH_KEYTYPE_MOVEHOLD, TH_KEYTYPE_MOVEHOLD_SELECT, UI_GetThemeColor4ubv(), x, and y.
Referenced by draw_keylist_keys(), nla_action_draw_keyframes(), and vicon_keytype_draw_wrapper().
void draw_masklay_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct bDopeSheet * | ads, | ||
struct MaskLayer * | masklay, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 722 of file keyframes_draw.c.
References AnimKeylistDrawListElem::ads, ANIM_KEYLIST_MASK_LAYER, AnimKeylistDrawListElem::channel_locked, ed_keylist_draw_list_add_elem(), MaskLayer::flag, MASK_LAYERFLAG_LOCKED, and AnimKeylistDrawListElem::masklay.
Referenced by draw_channel_strips().
void draw_object_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct bDopeSheet * | ads, | ||
struct Object * | ob, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 639 of file keyframes_draw.c.
References AnimKeylistDrawListElem::ads, ANIM_KEYLIST_OBJECT, ed_keylist_draw_list_add_elem(), AnimKeylistDrawListElem::ob, and SACTION_SHOW_EXTREMES.
Referenced by draw_channel_strips().
void draw_scene_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct bDopeSheet * | ads, | ||
struct Scene * | sce, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 625 of file keyframes_draw.c.
References AnimKeylistDrawListElem::ads, ANIM_KEYLIST_SCENE, ed_keylist_draw_list_add_elem(), SACTION_SHOW_EXTREMES, and AnimKeylistDrawListElem::sce.
Referenced by draw_channel_strips().
void draw_summary_channel | ( | struct AnimKeylistDrawList * | draw_list, |
struct bAnimContext * | ac, | ||
float | ypos, | ||
float | yscale_fac, | ||
int | saction_flag | ||
) |
Definition at line 613 of file keyframes_draw.c.
References AnimKeylistDrawListElem::ac, ANIM_KEYLIST_SUMMARY, ed_keylist_draw_list_add_elem(), and SACTION_SHOW_EXTREMES.
Referenced by draw_channel_strips().
struct AnimKeylistDrawList* ED_keylist_draw_list_create | ( | void | ) |
Definition at line 486 of file keyframes_draw.c.
References MEM_callocN.
Referenced by draw_channel_strips().
void ED_keylist_draw_list_flush | ( | struct AnimKeylistDrawList * | draw_list, |
struct View2D * | v2d | ||
) |
Definition at line 579 of file keyframes_draw.c.
References ED_keylist_draw_list_build_keylists(), and ED_keylist_draw_list_draw().
Referenced by draw_channel_strips().
void ED_keylist_draw_list_free | ( | struct AnimKeylistDrawList * | draw_list | ) |
Definition at line 585 of file keyframes_draw.c.
References BLI_freelistN(), AnimKeylistDrawList::channels, ED_keylist_free(), LISTBASE_FOREACH, and MEM_freeN.
Referenced by draw_channel_strips().