|
Blender V4.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) |
Drawing, mouse handling, and flag setting behavior.
Definition at line 616 of file ED_anim_api.hh.
| eAnimChannel_Role bAnimChannelType::channel_role |
Definition at line 621 of file ED_anim_api.hh.
Referenced by actkeys_channels_get_selected_extents(), and nla_tracks_get_selected_extents().
| const char* bAnimChannelType::channel_type_name |
Definition at line 619 of file ED_anim_api.hh.
Referenced by ANIM_channel_debug_print_info().
| void(* bAnimChannelType::draw_backdrop) (bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc) |
Draw backdrop strip for channel.
Definition at line 633 of file ED_anim_api.hh.
Referenced by ANIM_channel_draw().
| void(* 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 625 of file ED_anim_api.hh.
Referenced by acf_generic_channel_backdrop(), acf_generic_dataexpand_backdrop(), acf_generic_root_backdrop(), acf_group_backdrop(), acf_nla_controls_backdrop(), acf_summary_backdrop(), and ANIM_channel_draw().
| bool(* bAnimChannelType::get_channel_color) (const bAnimListElem *ale, uint8_t r_color[3]) |
Get RGB color that represents this channel.
Definition at line 630 of file ED_anim_api.hh.
Referenced by ANIM_channel_draw_widgets(), and draw_backdrops().
| short(* bAnimChannelType::get_indent_level) (bAnimContext *ac, bAnimListElem *ale) |
Get depth of indentation (relative to the depth channel is nested at).
Definition at line 635 of file ED_anim_api.hh.
Referenced by acf_generic_basic_offset(), and acf_generic_channel_color().
| short(* 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 637 of file ED_anim_api.hh.
Referenced by acf_generic_channel_backdrop(), acf_generic_dataexpand_backdrop(), acf_generic_root_backdrop(), acf_group_backdrop(), acf_nla_controls_backdrop(), acf_nlaaction_backdrop(), ANIM_channel_draw(), ANIM_channel_draw_widgets(), anim_flush_channel_setting_down(), anim_flush_channel_setting_up(), and ANIM_flush_setting_anim_channels().
| bool(* bAnimChannelType::has_setting) (bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting) |
Check if the given setting is valid in the current context.
Definition at line 648 of file ED_anim_api.hh.
Referenced by actkeys_channels_get_selected_extents(), ANIM_channel_draw(), ANIM_channel_draw_widgets(), ANIM_channel_setting_get(), ANIM_channel_setting_set(), draw_backdrops(), and nla_tracks_get_selected_extents().
| int(* bAnimChannelType::icon) (bAnimListElem *ale) |
Get icon (for channel lists).
Definition at line 644 of file ED_anim_api.hh.
Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().
| void(* bAnimChannelType::name) (bAnimListElem *ale, char *name) |
Get name (for channel lists).
Definition at line 640 of file ED_anim_api.hh.
Referenced by ale_name_matches_dopesheet_filter(), ANIM_channel_debug_print_info(), ANIM_channel_draw(), graph_panel_properties(), and skip_fcurve_with_name().
| bool(* bAnimChannelType::name_prop) (bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop) |
Get RNA property+pointer for editing the name.
Definition at line 642 of file ED_anim_api.hh.
Referenced by achannel_is_being_renamed(), ANIM_channel_draw_widgets(), and rename_anim_channels().
| int(* bAnimChannelType::setting_flag) (bAnimContext *ac, eAnimChannel_Settings setting, bool *r_neg) |
Get the flag used for this setting.
Definition at line 650 of file ED_anim_api.hh.
Referenced by ANIM_channel_setting_get(), ANIM_channel_setting_set(), and draw_setting_widget().
| void *(* 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 656 of file ED_anim_api.hh.
Referenced by ANIM_channel_setting_get(), ANIM_channel_setting_set(), and draw_setting_widget().