|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | KeyframeShaderBindings |
| 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 ) |
Definition at line 43 of file keyframes_draw.cc.
References BEZT_KEYTYPE_BREAKDOWN, BEZT_KEYTYPE_EXTREME, BEZT_KEYTYPE_GENERATED, 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, KeyframeShaderBindings::size_id, TH_KEYBORDER, TH_KEYBORDER_SELECT, TH_KEYTYPE_BREAKDOWN, TH_KEYTYPE_BREAKDOWN_SELECT, TH_KEYTYPE_EXTREME, TH_KEYTYPE_EXTREME_SELECT, TH_KEYTYPE_GENERATED, TH_KEYTYPE_GENERATED_SELECT, TH_KEYTYPE_JITTER, TH_KEYTYPE_JITTER_SELECT, TH_KEYTYPE_KEYFRAME, TH_KEYTYPE_KEYFRAME_SELECT, TH_KEYTYPE_MOVEHOLD, TH_KEYTYPE_MOVEHOLD_SELECT, UI_GetThemeColor3ubv(), and UI_GetThemeColor4ubv().
Referenced by draw_keylist_keys(), nla_action_draw_keyframes(), retime_key_draw(), and vicon_keytype_draw_wrapper().
| void ED_add_action_channel | ( | ChannelDrawList * | draw_list, |
| AnimData * | adt, | ||
| bAction * | act, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 774 of file keyframes_draw.cc.
References ChannelListElement::act, ACTION_LEGACY, ChannelListElement::adt, BLI_assert, channel_list_add_element(), ChannelListElement::channel_locked, ID_IS_EDITABLE, and ID_IS_OVERRIDE_LIBRARY.
Referenced by draw_keyframes().
| void ED_add_action_group_channel | ( | ChannelDrawList * | draw_list, |
| AnimData * | adt, | ||
| bActionGroup * | agrp, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 717 of file keyframes_draw.cc.
References AnimData::action, ACTION_GROUP, ChannelListElement::adt, ChannelListElement::agrp, AGRP_PROTECTED, channel_list_add_element(), ChannelListElement::channel_locked, bActionGroup::flag, ID_IS_EDITABLE, and ID_IS_OVERRIDE_LIBRARY.
Referenced by draw_keyframes().
| void ED_add_action_layered_channel | ( | ChannelDrawList * | channel_list, |
| AnimData * | adt, | ||
| bAction * | action, | ||
| const float | ypos, | ||
| const float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 735 of file keyframes_draw.cc.
References ChannelListElement::act, ACTION_LAYERED, ChannelListElement::adt, BLI_assert, channel_list_add_element(), ChannelListElement::channel_locked, ID_IS_EDITABLE, and ID_IS_OVERRIDE_LIBRARY.
Referenced by draw_keyframes().
| 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 ) |
Definition at line 755 of file keyframes_draw.cc.
References ChannelListElement::act, ACTION_SLOT, ChannelListElement::action_slot, ChannelListElement::adt, channel_list_add_element(), ChannelListElement::channel_locked, ID_IS_LINKED, and ID_IS_OVERRIDE_LIBRARY.
Referenced by draw_keyframes().
| void ED_add_fcurve_channel | ( | ChannelDrawList * | draw_list, |
| AnimData * | adt, | ||
| FCurve * | fcu, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 698 of file keyframes_draw.cc.
References AnimData::action, ChannelListElement::adt, AGRP_PROTECTED, channel_list_add_element(), ChannelListElement::channel_locked, ChannelListElement::fcu, FCURVE, FCURVE_PROTECTED, bActionGroup::flag, FCurve::flag, FCurve::grp, ID_IS_EDITABLE, and ID_IS_OVERRIDE_LIBRARY.
Referenced by draw_keyframes().
| void ED_add_grease_pencil_cels_channel | ( | ChannelDrawList * | draw_list, |
| bDopeSheet * | ads, | ||
| const GreasePencilLayer * | layer, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 816 of file keyframes_draw.cc.
References ChannelListElement::ads, channel_list_add_element(), ChannelListElement::channel_locked, GREASE_PENCIL_CELS, and ChannelListElement::grease_pencil_layer.
Referenced by draw_keyframes().
| 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 ) |
Definition at line 795 of file keyframes_draw.cc.
References ChannelListElement::ac, ChannelListElement::act, AnimData::action, ChannelListElement::adt, channel_list_add_element(), ChannelListElement::grease_pencil, and GREASE_PENCIL_DATA.
Referenced by draw_keyframes().
| void ED_add_grease_pencil_layer_group_channel | ( | ChannelDrawList * | draw_list, |
| bDopeSheet * | ads, | ||
| const GreasePencilLayerTreeGroup * | layer, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 833 of file keyframes_draw.cc.
References ChannelListElement::ads, channel_list_add_element(), ChannelListElement::channel_locked, GREASE_PENCIL_GROUP, and ChannelListElement::grease_pencil_layer_group.
Referenced by draw_keyframes().
| void ED_add_grease_pencil_layer_legacy_channel | ( | ChannelDrawList * | draw_list, |
| bDopeSheet * | ads, | ||
| bGPDlayer * | gpl, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 850 of file keyframes_draw.cc.
References ChannelListElement::ads, channel_list_add_element(), ChannelListElement::channel_locked, bGPDlayer::flag, GP_LAYER_LOCKED, ChannelListElement::gpl, and GREASE_PENCIL_LAYER.
Referenced by draw_keyframes().
| void ED_add_mask_layer_channel | ( | ChannelDrawList * | draw_list, |
| bDopeSheet * | ads, | ||
| MaskLayer * | masklay, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 868 of file keyframes_draw.cc.
References ChannelListElement::ads, channel_list_add_element(), ChannelListElement::channel_locked, MaskLayer::flag, MASK_LAYER, MASK_LAYERFLAG_LOCKED, and ChannelListElement::masklay.
Referenced by draw_keyframes().
| void ED_add_object_channel | ( | ChannelDrawList * | draw_list, |
| bDopeSheet * | ads, | ||
| Object * | ob, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 684 of file keyframes_draw.cc.
References ChannelListElement::ads, channel_list_add_element(), ChannelListElement::ob, and OBJECT.
Referenced by draw_keyframes().
| void ED_add_scene_channel | ( | ChannelDrawList * | draw_list, |
| bDopeSheet * | ads, | ||
| Scene * | sce, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag ) |
Definition at line 670 of file keyframes_draw.cc.
References ChannelListElement::ads, channel_list_add_element(), ChannelListElement::sce, and SCENE.
Referenced by draw_keyframes().
| 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().
| ChannelDrawList * ED_channel_draw_list_create | ( | ) |
Definition at line 533 of file keyframes_draw.cc.
References MEM_callocN.
Referenced by draw_keyframes().
| void ED_channel_list_flush | ( | ChannelDrawList * | draw_list, |
| View2D * | v2d ) |
Definition at line 624 of file keyframes_draw.cc.
References channel_list_build_keylists(), channel_list_draw(), View2D::cur, rctf::xmax, and rctf::xmin.
Referenced by draw_keyframes().
| void ED_channel_list_free | ( | ChannelDrawList * | draw_list | ) |
Definition at line 630 of file keyframes_draw.cc.
References BLI_freelistN(), ChannelDrawList::channels, ED_keylist_free(), LISTBASE_FOREACH, and MEM_freeN().
Referenced by draw_keyframes().