|
Blender V5.3
|
#include <ED_anim_api.hh>
Public Attributes | |
| const char * | channel_type_name |
| eAnimChannel_Role | channel_role |
| void(*) | get_backdrop_color (bAnimContext *ac, bAnimListElem *ale, float r_color[3]) |
| bool(*) | get_channel_color (const bAnimListElem *ale, uint8_t r_color[3]) |
| void(*) | draw_backdrop (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc) |
| short(*) | get_indent_level (bAnimContext *ac, bAnimListElem *ale) |
| short(*) | get_offset (bAnimContext *ac, bAnimListElem *ale) |
| void(*) | name (bAnimListElem *ale, char *name) |
| bool(*) | name_prop (bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop) |
| int(*) | icon (bAnimListElem *ale) |
| bool(*) | has_setting (bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting) |
| int(*) | setting_flag (bAnimContext *ac, eAnimChannel_Settings setting, bool *r_neg) |
| void *(*) | setting_ptr (bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type) |
| void(*) | setting_post_update (Main &bmain, const bAnimListElem &ale, eAnimChannel_Settings setting) |
Drawing, mouse handling, and flag setting behavior.
Definition at line 700 of file ED_anim_api.hh.
| eAnimChannel_Role blender::bAnimChannelType::channel_role |
Definition at line 705 of file ED_anim_api.hh.
Referenced by blender::actkeys_channels_get_selected_extents(), blender::anim_list_el_is_visibility_related_or_self(), and blender::nla_tracks_get_selected_extents().
| const char* blender::bAnimChannelType::channel_type_name |
Definition at line 703 of file ED_anim_api.hh.
Referenced by blender::ANIM_channel_debug_print_info().
| void(*) blender::bAnimChannelType::draw_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc) |
Draw backdrop strip for channel.
Definition at line 717 of file ED_anim_api.hh.
Referenced by blender::ANIM_channel_draw().
| void(*) blender::bAnimChannelType::get_backdrop_color(bAnimContext *ac, bAnimListElem *ale, float r_color[3]) |
Get RGB color that is used to draw the majority of the backdrop.
Definition at line 709 of file ED_anim_api.hh.
Referenced by blender::acf_generic_channel_backdrop(), blender::acf_generic_dataexpand_backdrop(), blender::acf_generic_root_backdrop(), blender::acf_group_backdrop(), blender::acf_nla_controls_backdrop(), blender::acf_summary_backdrop(), and blender::ANIM_channel_draw().
| bool(*) blender::bAnimChannelType::get_channel_color(const bAnimListElem *ale, uint8_t r_color[3]) |
Get RGB color that represents this channel.
Definition at line 714 of file ED_anim_api.hh.
Referenced by blender::ANIM_channel_draw_widgets(), and blender::draw_backdrops().
| short(*) blender::bAnimChannelType::get_indent_level(bAnimContext *ac, bAnimListElem *ale) |
Get depth of indentation (relative to the depth channel is nested at).
Definition at line 719 of file ED_anim_api.hh.
Referenced by blender::acf_generic_basic_offset(), and blender::acf_generic_channel_color().
| short(*) blender::bAnimChannelType::get_offset(bAnimContext *ac, bAnimListElem *ale) |
Get offset in pixels for the start of the channel (in addition to the indent depth).
Definition at line 721 of file ED_anim_api.hh.
Referenced by blender::acf_generic_channel_backdrop(), blender::acf_generic_dataexpand_backdrop(), blender::acf_generic_root_backdrop(), blender::acf_group_backdrop(), blender::acf_nla_controls_backdrop(), blender::acf_nlaaction_backdrop(), blender::ANIM_channel_draw(), blender::ANIM_channel_draw_widgets(), blender::anim_flush_channel_setting_down(), blender::anim_flush_channel_setting_up(), and blender::ANIM_flush_setting_anim_channels().
| bool(*) blender::bAnimChannelType::has_setting(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting) |
Check if the given setting is valid in the current context.
Definition at line 732 of file ED_anim_api.hh.
Referenced by blender::actkeys_channels_get_selected_extents(), blender::ANIM_channel_debug_print_info(), blender::ANIM_channel_draw(), blender::ANIM_channel_draw_widgets(), blender::ANIM_channel_setting_get(), blender::ANIM_channel_setting_set(), blender::draw_backdrops(), and blender::nla_tracks_get_selected_extents().
| int(*) blender::bAnimChannelType::icon(bAnimListElem *ale) |
Get icon (for channel lists).
Definition at line 728 of file ED_anim_api.hh.
Referenced by blender::ANIM_channel_draw(), and blender::ANIM_channel_draw_widgets().
| void(*) blender::bAnimChannelType::name(bAnimListElem *ale, char *name) |
Get name (for channel lists).
Definition at line 724 of file ED_anim_api.hh.
Referenced by blender::ale_name_matches_dopesheet_filter(), blender::ANIM_channel_debug_print_info(), blender::ANIM_channel_draw(), blender::graph_panel_properties(), and blender::skip_fcurve_with_name().
| bool(*) blender::bAnimChannelType::name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop) |
Get RNA property+pointer for editing the name.
Definition at line 726 of file ED_anim_api.hh.
Referenced by blender::achannel_is_being_renamed(), blender::ANIM_channel_draw_widgets(), and blender::rename_anim_channels().
| int(*) blender::bAnimChannelType::setting_flag(bAnimContext *ac, eAnimChannel_Settings setting, bool *r_neg) |
Get the flag used for this setting.
Definition at line 734 of file ED_anim_api.hh.
Referenced by blender::ANIM_channel_debug_print_info(), blender::ANIM_channel_setting_get(), blender::ANIM_channel_setting_set(), and blender::draw_setting_widget().
| void(*) blender::bAnimChannelType::setting_post_update(Main &bmain, const bAnimListElem &ale, eAnimChannel_Settings setting) |
Called after a setting was changed via ANIM_channel_setting_set().
| ale | is marked as const, as it could have been duplicated and taken out of context. This means that any hypothetical changes to ale->update, for example, will not be seen by any ANIM_animdata_update() call. So better to keep this const and avoid any manipulation. Also, because of the duplications, the ale's prev and next pointers will be dangling. |
Definition at line 750 of file ED_anim_api.hh.
Referenced by blender::achannel_setting_widget_cb(), and blender::ANIM_channel_setting_set().
| void *(*) blender::bAnimChannelType::setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type) |
Get the pointer to int/short where data is stored, with type being sizeof(ptr_data) which should be fine for runtime use.
Definition at line 740 of file ED_anim_api.hh.
Referenced by blender::ANIM_channel_debug_print_info(), blender::ANIM_channel_setting_get(), blender::ANIM_channel_setting_set(), and blender::draw_setting_widget().