57#include "RNA_prototypes.hh"
95#define EXTRA_SCROLL_PAD 100.0f
98#define INDENT_STEP_SIZE (0.35f * U.widget_unit)
101#define GET_ACF_FLAG_PTR(ptr, type) ((*(type) = sizeof(ptr)), &(ptr))
192 const int colorOffset = 10 - 10 * indent;
233static short acf_generic_indentation_2(bAnimContext *ac, bAnimListElem *ale)
270 switch (ntree->
type) {
310 offset += short(0.35f *
U.widget_unit);
331 offset +=
U.widget_unit;
335 offset += short(0.7f *
U.widget_unit);
340 offset += short(0.7f *
U.widget_unit);
358 ID *
id =
static_cast<ID *
>(ale->
data);
374 return (*r_prop !=
nullptr);
386 return (*r_prop !=
nullptr);
452 box.
ymin = yminc - 2;
538 return ICON_SCENE_DATA;
656 return ICON_OUTLINER_OB_LIGHT;
658 return ICON_OUTLINER_OB_MESH;
660 return ICON_OUTLINER_OB_CAMERA;
662 return ICON_OUTLINER_OB_CURVE;
664 return ICON_OUTLINER_OB_META;
666 return ICON_OUTLINER_OB_LATTICE;
668 return ICON_OUTLINER_OB_SPEAKER;
670 return ICON_OUTLINER_OB_LIGHTPROBE;
672 return ICON_OUTLINER_OB_ARMATURE;
674 return ICON_OUTLINER_OB_FONT;
676 return ICON_OUTLINER_OB_SURFACE;
678 return ICON_OUTLINER_OB_CURVES;
680 return ICON_OUTLINER_OB_POINTCLOUD;
682 return ICON_OUTLINER_OB_VOLUME;
684 return ICON_OUTLINER_OB_EMPTY;
686 return ICON_OUTLINER_OB_GREASEPENCIL;
688 return ICON_OBJECT_DATA;
710 return (*r_prop !=
nullptr);
880 return (*r_prop !=
nullptr);
968 if (color_index == 0) {
973 if (color_index < 0) {
974 wire_color = &agrp->
cs;
978 wire_color = &btheme->
tarm[(color_index - 1)];
981 r_color[0] = wire_color->
solid[0];
982 r_color[1] = wire_color->
solid[1];
983 r_color[2] = wire_color->
solid[2];
1058 const size_t num_chars_copied = fcurve_name.copy(name, std::string::npos);
1059 name[num_chars_copied] =
'\0';
1085 return (*r_prop !=
nullptr);
1280 "NLA Controls Expander",
1324 "NLA Control F-Curve",
1410 "Ob-Layered-Action Filler",
1440 const int num_users = slot->
users(*ale->
bmain).size();
1444 switch (num_users) {
1464 return (*r_prop !=
nullptr);
1469 return ICON_ACTION_SLOT;
1719 return ICON_MATERIAL_DATA;
1778 "Material Data Expander",
1802 return ICON_LIGHT_DATA;
1889 return ICON_TEXTURE_DATA;
1955 "Texture Data Expander",
2029 if (cache_file->
adt) {
2042 "Cache File Expander",
2066 return ICON_CAMERA_DATA;
2156 return ICON_FONT_DATA;
2158 return ICON_SURFACE_DATA;
2160 return ICON_CURVE_DATA;
2248 return ICON_SHAPEKEY_DATA;
2326 "Shape Key Expander",
2350 return ICON_WORLD_DATA;
2433 return ICON_PARTICLE_DATA;
2492 "Particle Data Expander",
2516 return ICON_META_DATA;
2579 "Metaball Expander",
2603 return ICON_ARMATURE_DATA;
2666 "Armature Expander",
2690 return ICON_NODETREE;
2760 "Node Tree Expander",
2784 return ICON_LINE_DATA;
2831 if (linestyle->
adt) {
2843 "Line Style Expander",
2867 return ICON_MESH_DATA;
2955 return ICON_LATTICE_DATA;
3043 return ICON_SPEAKER;
3126 return ICON_CURVES_DATA;
3213 return ICON_POINTCLOUD_DATA;
3264 if (pointcloud->
adt) {
3276 "PointCloud Expander",
3300 return ICON_VOLUME_DATA;
3388 switch (probe->type) {
3390 return ICON_LIGHTPROBE_SPHERE;
3392 return ICON_LIGHTPROBE_PLANE;
3394 return ICON_LIGHTPROBE_VOLUME;
3396 return ICON_LIGHTPROBE_SPHERE;
3460 "LightProbe Expander",
3484 return ICON_OUTLINER_DATA_GREASEPENCIL;
3543 "GPencil DS Expander",
3567 return ICON_SEQUENCE;
3614 if (clip->
adt !=
nullptr) {
3626 "Movieclip Expander",
3670 if (kb && kb->
name[0]) {
3674 return (*r_prop !=
nullptr);
3767 return ICON_OUTLINER_DATA_GREASEPENCIL;
3805 return (*r_prop !=
nullptr);
3947 offset +=
node->wrap().depth() * short(0.7f *
U.widget_unit);
3957 if (
layer && name) {
3967 if (ale->
data ==
nullptr) {
3974 return (*r_prop !=
nullptr);
4043 int icon = ICON_GREASEPENCIL_LAYER_GROUP;
4045 icon = ICON_LAYERGROUP_COLOR_01 + int(group.
color_tag);
4060 if (layer_group && name) {
4097 "Grease Pencil Datablock",
4118 "Grease Pencil Layer",
4139 "Grease Pencil Layer Group",
4170 return ICON_MOD_MASK;
4247 if (masklay && name) {
4259 return (*r_prop !=
nullptr);
4345 bool nonSolo =
false;
4376 return (*r_prop !=
nullptr);
4511 return ICON_ACTION_TWEAK;
4601 return (*r_prop !=
nullptr);
4666 "NLA Active Action",
4762 "ANIMTYPE_FILLACT_LAYERED does not match ACF_FILLANIM");
4764 "ANIMTYPE_ACTION_SLOT does not match ACF_ACTION_SLOT");
4771 if (ale ==
nullptr) {
4808 return "ALWAYS_VISIBLE";
4811 return "unknown setting";
4819 for (; indent_level > 0; indent_level--) {
4825 printf(
"<Invalid channel - nullptr>\n");
4830 printf(
"ChanType: <Unknown - %d>\n", ale->
type);
4837 acf->
name(ale, name);
4862 bool is_neg =
false;
4863 const int setting_flag = acf->
setting_flag(&ac, setting, &is_neg);
4865 short setting_type = 0;
4866 const void *setting_ptr = acf->
setting_ptr(ale, setting, &setting_type);
4867 if (setting_ptr ==
nullptr) {
4871 bool setting_value =
false;
4872 switch (setting_type) {
4874 const int as_int = *
static_cast<const int *
>(setting_ptr);
4875 setting_value = bool(
as_int & setting_flag) != is_neg;
4878 case sizeof(short): {
4879 const short as_short = *
static_cast<const short *
>(setting_ptr);
4880 setting_value = bool(as_short &
short(setting_flag)) != is_neg;
4888 if (!setting_value) {
4891 printf(
"%-15s", show_name.c_str());
4906 return reinterpret_cast<bAction *
>(owner);
4935 const int *val =
static_cast<int *
>(ptr);
4938 return ((*val) & flag) == 0;
4940 return ((*val) & flag) != 0;
4944 const short *val =
static_cast<short *
>(ptr);
4947 return ((*val) & flag) == 0;
4949 return ((*val) & flag) != 0;
4953 const char *val =
static_cast<char *
>(ptr);
4956 return ((*val) & flag) == 0;
4958 return ((*val) & flag) != 0;
4970#define ACF_SETTING_SET(sval, sflag, smode) \
4973 if (smode == ACHANNEL_SETFLAG_INVERT) { \
4974 (sval) ^= (sflag); \
4976 else if (smode == ACHANNEL_SETFLAG_ADD) { \
4977 (sval) &= ~(sflag); \
4980 (sval) |= (sflag); \
4984 if (smode == ACHANNEL_SETFLAG_INVERT) { \
4985 (sval) ^= (sflag); \
4987 else if (smode == ACHANNEL_SETFLAG_ADD) { \
4988 (sval) |= (sflag); \
4991 (sval) &= ~(sflag); \
5020 int *val =
static_cast<int *
>(ptr);
5026 short *val =
static_cast<short *
>(ptr);
5032 char *val =
static_cast<char *
>(ptr);
5050#define ICON_WIDTH (0.8f * U.widget_unit)
5052#define SLIDER_WIDTH (4 * U.widget_unit)
5054#define RENAME_TEXT_MIN_WIDTH (U.widget_unit)
5056#define GRAPH_COLOR_BAND_WIDTH (0.3f * U.widget_unit)
5058#define GRAPH_ICON_VISIBILITY_OFFSET (GRAPH_COLOR_BAND_WIDTH * 1.5f)
5060#define CHANNEL_COLOR_RECT_WIDTH (0.5f * ICON_WIDTH)
5061#define CHANNEL_COLOR_RECT_MARGIN (2.0f * UI_SCALE_FAC)
5066 size_t channel_index)
5086 if (ale->
bmain ==
nullptr) {
5090 switch (ale->
type) {
5107 if (slot ==
nullptr) {
5123 switch (ale->
type) {
5143 if (yscale_fac < 0.1f) {
5156 return 0.1f *
U.widget_unit;
5176 return 10 *
U.widget_unit;
5181 return 0.8f *
U.widget_unit;
5189 short selected, offset;
5190 float y, ymid, ytext;
5193 if (
ELEM(
nullptr, acf, ale)) {
5206 y = (ymaxc - yminc) / 2 + yminc;
5210 ytext =
y - 0.2f *
U.widget_unit;
5235 offset += short(0.2f *
U.widget_unit);
5316 col[3] = col[3] / 3 * 2;
5320 acf->
name(ale, name);
5362 short draw_sliders = 0;
5363 float ymin_ofs = 0.0f;
5453 if ((draw_sliders) &&
ELEM(ale->
type,
5470 v2d->
cur.
xmax -
float(offset),
5533 if (target->
id && iter->
id && target->
id == iter->
id) {
5549 if (fcu->
grp == target->
data) {
5559 ListBaseT<bAnimListElem> anim_data = {
nullptr,
nullptr};
5560 bool any_unrelated_visible =
false;
5575 any_unrelated_visible =
true;
5599 ListBaseT<bAnimListElem> anim_data = {
nullptr,
nullptr};
5626 if (ale_setting->
id) {
5697 ID *
id =
static_cast<ID *
>(id_poin);
5705 ListBaseT<NlaKeyframingContext> nla_cache = {
nullptr,
nullptr};
5717 depsgraph,
float(scene->
r.
cfra));
5719 &nla_cache, &id_ptr, adt, &anim_eval_context);
5745 if (adt->
action !=
nullptr) {
5763 depsgraph,
float(scene->
r.
cfra));
5765 Key *key =
static_cast<Key *
>(key_poin);
5841 bool usetoggle =
true;
5843 std::optional<StringRef> tooltip;
5847 const int flag = acf->
setting_flag(ac, setting, &negflag);
5850 void *ptr = acf->
setting_ptr(ale, setting, &ptrsize);
5852 if (!ptr || !flag) {
5862 icon = ICON_HIDE_ON;
5865 tooltip =
TIP_(
"F-Curve visibility in Graph Editor");
5868 tooltip =
TIP_(
"Grease Pencil layer is visible in the viewport");
5871 tooltip =
TIP_(
"Toggle visibility of Channels in Graph Editor for editing");
5876 icon = ICON_UNPINNED;
5877 tooltip =
TIP_(
"Display channel regardless of object selection");
5881 icon = ICON_MODIFIER_OFF;
5882 tooltip =
TIP_(
"Enable F-Curve modifiers");
5887 icon = ICON_RIGHTARROW;
5888 tooltip =
TIP_(
"Make channels grouped under this channel visible");
5893 icon = ICON_SOLO_OFF;
5895 "NLA Track is the only one evaluated in this animation data-block, with all others "
5904 icon = ICON_UNLOCKED;
5907 tooltip =
TIP_(
"Editability of keyframes for this channel");
5910 tooltip =
TIP_(
"Editability of NLA Strips in this track");
5915 icon = (enabled ? ICON_CHECKBOX_DEHLT : ICON_CHECKBOX_HLT);
5919 tooltip =
TIP_(
"Does F-Curve contribute to result");
5923 "Temporarily disable NLA stack evaluation (i.e. only the active action is evaluated)");
5927 "Show all keyframes during animation playback and enable all frames for editing "
5928 "(uncheck to use only the current keyframe during animation playback and editing)");
5931 tooltip =
TIP_(
"Do channels contribute to result (toggle channel muting)");
5937 icon = ICON_UNPINNED;
5940 tooltip =
TIP_(
"Display action without any time remapping (when unpinned)");
5944 tooltip = std::nullopt;
5949 tooltip = std::nullopt;
5977 but = uiDefIconButBit(block,
5985 static_cast<int *
>(ptr),
5992 but = uiDefIconButBit(block,
6000 static_cast<short *
>(ptr),
6007 but = uiDefIconButBit(block,
6015 static_cast<char *
>(ptr),
6051 button_funcN_set(but, button_callback, MEM_dupalloc(ale),
POINTER_FROM_INT(setting));
6059 button_disable(but,
"Cannot edit this property from a linked data-block");
6084 const short channel_height,
6085 const int array_index)
6090 if (
layer ==
nullptr) {
6107 &ptr, onion_skinning_prop);
6109 &id_ptr, onion_skinning_rna_path->c_str(), &ptr, &onion_skinning_prop))
6111 uiDefAutoButR(block,
6113 onion_skinning_prop,
6129 &ptr, layer_mask_prop);
6131 uiDefAutoButR(block,
6151 uiDefAutoButR(block,
6169 size_t channel_index)
6178 if (
ELEM(
nullptr, acf, ale, block)) {
6183 short offset = rect->
xmin;
6238 if (is_being_renamed) {
6248 const short width = ac->
region->
winx - offset - (margin_x * 2);
6253 but = uiDefButR(block,
6268 if (button_active_only(
C, ac->
region, block, but) ==
false) {
6288 offset = int(rect->
xmax);
6291 if (!is_being_renamed) {
6292 short draw_sliders = 0;
6320 if (show_group_colors) {
6331 rect->
xmax - rect_width - rect_margin,
6332 rect->
ymin + rect_margin,
6333 rect->
xmax - rect_margin,
6334 rect->
ymax - rect_margin);
6338 offset -= rect_width + 2 * rect_margin;
6403 but = uiDefIconButO(block,
6405 "NLA_OT_action_pushdown",
6414 opptr_b = button_operator_ptr_ensure(but);
6415 RNA_int_set(opptr_b,
"track_index", channel_index);
6439 if (((draw_sliders) &&
ELEM(ale->
type,
6472 but = uiDefAutoButR(block,
6489 std::optional<std::string>
rna_path;
6490 int array_index = 0;
6501 Key *key =
reinterpret_cast<Key *
>(ale->
id);
6529 uiDefAutoButR(block,
6551 uiDefAutoButR(block,
6580 but = uiDefAutoButR(block,
Functions and classes to work with Actions.
Functions to work with AnimData.
Functions to modify FCurves.
Functions to insert, delete or modify keyframes.
Low-level operations for grease pencil.
#define STRNCPY_UTF8(dst, src)
Object is a sort of wrapper for general info.
Read Blender memory allocation and freeing.
#define UI_TIME_SCRUB_MARGIN_Y
#define GRAPH_ICON_VISIBILITY_OFFSET
#define GET_ACF_FLAG_PTR(ptr, type)
#define CHANNEL_COLOR_RECT_WIDTH
#define RENAME_TEXT_MIN_WIDTH
#define ACF_SETTING_SET(sval, sflag, smode)
#define GRAPH_COLOR_BAND_WIDTH
#define CHANNEL_COLOR_RECT_MARGIN
#define ANIM_CHAN_NAME_SIZE
#define BLI_assert_unreachable()
#define POINTER_FROM_INT(i)
#define POINTER_AS_INT(i)
#define BLI_assert_msg(a, msg)
Slot * slot_for_handle(slot_handle_t handle)
Span< ID * > users(Main &bmain) const
static constexpr slot_handle_t unassigned
StringRefNull identifier_without_prefix() const
constexpr const char * c_str() const
ccl_device_inline int as_int(const uint i)
bool insert_keyframe_direct(ReportList *reports, PointerRNA ptr, PropertyRNA *prop, FCurve *fcu, const AnimationEvalContext *anim_eval_context, eBezTriple_KeyframeType keytype, NlaKeyframingContext *nla_context, eInsertKeyFlags flag)
bool fcurve_frame_has_keyframe(const FCurve *fcu, float frame)
SingleKeyingResult insert_keyframe_direct(PointerRNA &ptr, PropertyRNA &prop, FCurve &fcu, float fcurve_frame, eBezTriple_KeyframeType keytype, eInsertKeyFlags flag)
Secondary Insert Key-framing API call.
void generate_single_keying_result_report(const SingleKeyingResult result, ReportList *reports)
eInsertKeyFlags get_keyframing_flags(Scene *scene)
CombinedKeyingResult insert_keyframes(Main *bmain, PointerRNA *struct_pointer, std::optional< StringRefNull > channel_group, const Span< RNAPath > rna_paths, std::optional< float > scene_frame, const AnimationEvalContext &anim_eval_context, eBezTriple_KeyframeType key_type, eInsertKeyFlags insert_key_flags)
Main key-frame insertion API.
static short layer_offset(bAnimContext *ac, bAnimListElem *ale)
static void layer_name(bAnimListElem *ale, char *name)
static bool layer_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static int layer_group_icon(bAnimListElem *ale)
static void * data_block_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static bool layer_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static bool layer_group_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static int layer_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * layer_group_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static void * layer_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static int data_block_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void layer_group_color(bAnimContext *, bAnimListElem *, float r_color[3])
static void layer_group_name(bAnimListElem *ale, char *name)
static void datablock_color(bAnimContext *ac, bAnimListElem *, float r_color[3])
static bool layer_channel_color(const bAnimListElem *ale, uint8_t r_color[3])
BLI_INLINE Texture * wrap(MTLTexture *texture)
void get_color_4ubv(int colorid, unsigned char col[4])
void get_color_3fv(int colorid, float col[3])
void get_color_shade_3fv(int colorid, int offset, float col[3])
const bTheme * theme_get()
void(*)(bContext *C, void *argN, void *arg2) ButtonHandleNFunc
int icon_from_idcode(int idcode)
float view2d_scale_get_y(const View2D *v2d)
void draw_roundbox_corner_set(int type)
void fontstyle_draw_simple(const uiFontStyle *fs, float x, float y, const char *str, const uchar col[4])
void draw_roundbox_3fv_alpha(const rctf *rect, bool filled, float rad, const float col[3], float alpha)
void icon_draw(float x, float y, int icon_id)
Button * context_active_but_prop_get(const bContext *C, PointerRNA *r_ptr, PropertyRNA **r_prop, int *r_index)
void draw_roundbox_4fv(const rctf *rect, bool filled, float rad, const float col[4])
static bool achannel_is_part_of_disconnected_slot(const bAnimListElem *ale)
static int acf_dsvolume_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static int acf_nlaaction_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static StringRefNull setting_name(const eAnimChannel_Settings setting)
static int acf_dsmclip_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
static void acf_masklay_name(bAnimListElem *ale, char *name)
void ANIM_channel_draw(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc, size_t channel_index)
@ GP_LAYER_TREE_NODE_MUTE
@ GP_LAYER_TREE_NODE_HIDE
@ GP_LAYER_TREE_NODE_LOCKED
@ GP_LAYER_TREE_NODE_EXPANDED
@ GP_LAYER_TREE_NODE_SELECT
size_t size_t size_t BLI_snprintf_utf8(char *__restrict dst, size_t dst_maxncpy, const char *__restrict format,...) ATTR_NONNULL(1
static int acf_dslightprobe_icon(bAnimListElem *ale)
static int acf_dsskey_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static bAnimChannelType ACF_FILLANIM
static bool acf_action_slot_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
short ANIM_channel_setting_get(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting)
static bAnimChannelType ACF_DSMCLIP
static int acf_dsskey_icon(bAnimListElem *)
static void * acf_group_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static int acf_dspointcloud_icon(bAnimListElem *)
static bool acf_scene_setting_valid(bAnimContext *ac, bAnimListElem *, eAnimChannel_Settings setting)
float BKE_nla_tweakedit_remap(AnimData *adt, float cframe, eNlaTime_ConvertModes mode)
static void acf_nla_controls_name(bAnimListElem *, char *name)
static bAnimChannelType ACF_NLATRACK
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
const bAnimChannelType * ANIM_channel_get_typeinfo(const bAnimListElem *ale)
void immUniformColor3f(float r, float g, float b)
static void acf_fcurve_name(bAnimListElem *ale, char *name)
static void acf_generic_root_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static bool acf_object_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static void * acf_filldrivers_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
@ ADS_FLAG_SUMMARY_COLLAPSED
MINLINE void copy_v3_v3(float r[3], const float a[3])
float ANIM_UI_get_channel_name_width()
static int acf_dslight_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_dsskey_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bAnimChannelType ACF_SHAPEKEY
void BKE_animsys_free_nla_keyframing_context_cache(ListBaseT< NlaKeyframingContext > *cache)
static void acf_generic_dataexpand_color(bAnimContext *, bAnimListElem *, float r_color[3])
static void acf_nlaaction_name(bAnimListElem *ale, char *name)
MINLINE int round_fl_to_int(float a)
PointerRNA RNA_id_pointer_create(ID *id)
static void acf_shapekey_name(bAnimListElem *ale, char *name)
static bool anim_list_el_is_visibility_related_or_self(const bAnimListElem *target, const bAnimListElem *iter)
std::optional< std::string > RNA_path_from_ID_to_property(const PointerRNA *ptr, PropertyRNA *prop)
static int acf_dsspk_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static int acf_dsgpencil_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_scene_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static void * acf_shapekey_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
Depsgraph * CTX_data_depsgraph_pointer(const bContext *C)
const char * RNA_property_identifier(const PropertyRNA *prop)
static void * acf_dsmat_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_dslinestyle_icon(bAnimListElem *)
static int acf_gpl_setting_flag_legacy(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
GPUVertFormat * immVertexFormat()
static void achannel_setting_slider_shapekey_cb(bContext *C, void *key_poin, void *kb_poin)
static void * acf_dslightprobe_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bool acf_masklay_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static bAnimChannelType ACF_NLAACTION
static int acf_dsarm_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static bAnimChannelType ACF_MASKLAYER
static int acf_action_slot_idtype_icon(bAnimListElem *ale)
static short acf_generic_indentation_1(bAnimContext *, bAnimListElem *)
static int acf_dsmat_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
void RNA_int_set(PointerRNA *ptr, const char *name, int value)
static void achannel_setting_slider_cb(bContext *C, void *id_poin, void *fcu_poin)
static int acf_dslightprobe_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static int acf_dsmesh_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static int acf_dscachefile_icon(bAnimListElem *ale)
bool ANIM_animdata_get_context(const bContext *C, bAnimContext *ac)
static bAnimChannelType ACF_DSMESH
static void * acf_dslight_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static void * acf_dspart_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bAnimChannelType ACF_DSARM
static int acf_dslinestyle_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
void immBegin(GPUPrimType, uint vertex_len)
@ ADT_CURVES_ALWAYS_VISIBLE
@ ADT_NLA_SKEYS_COLLAPSED
static bool acf_generic_dataexpand_setting_valid(bAnimContext *ac, bAnimListElem *, eAnimChannel_Settings setting)
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
static bool acf_group_setting_valid(bAnimContext *ac, bAnimListElem *, eAnimChannel_Settings setting)
static int acf_nlatrack_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *neg)
static int acf_dswor_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_dscur_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_action_slot_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static int acf_scene_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
wmWindow * CTX_wm_window(const bContext *C)
static short acf_generic_basic_offset(bAnimContext *ac, bAnimListElem *ale)
static bAnimChannelType ACF_GPLGROUP
@ TH_DOPESHEET_CHANNELSUBOB
static int acf_mask_icon(bAnimListElem *)
static int acf_dsmclip_icon(bAnimListElem *)
static int acf_dsspk_icon(bAnimListElem *)
static void * acf_dsarm_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_dsmesh_icon(bAnimListElem *)
@ USER_ANIM_SHOW_CHANNEL_GROUP_COLORS
static int acf_dslight_icon(bAnimListElem *)
static bool acf_masklay_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static void acf_mask_color(bAnimContext *, bAnimListElem *, float r_color[3])
static short acf_nodetree_rootType_offset(bNodeTree *ntree)
@ ANIMTYPE_GREASE_PENCIL_LAYER_GROUP
@ ANIMTYPE_GREASE_PENCIL_LAYER
@ ANIMTYPE_FILLACT_LAYERED
static bAnimChannelType ACF_FILLACTD
static bAnimChannelType ACF_GPD
MINLINE void rgb_float_to_uchar(unsigned char r_col[3], const float col_f[3])
static void acf_gpl_name_legacy(bAnimListElem *ale, char *name)
static bAnimChannelType ACF_DSSKEY
static bAnimChannelType ACF_DSVOLUME
static bool get_actiongroup_color(const bActionGroup *agrp, uint8_t r_color[3])
static bAnimChannelType ACF_DSGPENCIL
static void * acf_dsmball_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static void * acf_action_slot_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static void acf_nla_curve_name(bAnimListElem *ale, char *name)
static int acf_filldrivers_icon(bAnimListElem *)
static int acf_filldrivers_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static bool acf_show_channel_colors()
void immUniformColor3ubv(const unsigned char rgb[3])
static bool acf_group_channel_color(const bAnimListElem *ale, uint8_t r_color[3])
static int acf_dsmball_icon(bAnimListElem *)
void GPU_line_width(float width)
AnimationEvalContext BKE_animsys_eval_context_construct(Depsgraph *depsgraph, float eval_time) ATTR_WARN_UNUSED_RESULT
static bAnimChannelType ACF_DSMAT
float ANIM_UI_get_channel_height()
static void * acf_dswor_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bool acf_gpl_name_prop_legacy(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static void acf_filldrivers_name(bAnimListElem *, char *name)
static void acf_summary_name(bAnimListElem *, char *name)
static void acf_object_name(bAnimListElem *ale, char *name)
static bAnimChannelType ACF_GPL_LEGACY
void immBindBuiltinProgram(GPUBuiltinShader shader_id)
static int acf_dscachefile_setting_flag(bAnimContext *ac, eAnimChannel_Settings setting, bool *r_neg)
static void acf_generic_dataexpand_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static int acf_dslat_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static int acf_dsgpencil_icon(bAnimListElem *)
PropertyType RNA_property_type(PropertyRNA *prop)
AnimData * BKE_animdata_from_id(const ID *id)
static void achannel_setting_slider_nla_curve_cb(bContext *C, void *, void *fcu_poin)
static void achannel_setting_widget_cb(bContext *C, void *ale_npoin, void *setting_wrap)
static void acf_summary_color(bAnimContext *ac, bAnimListElem *ale, float r_color[3])
static void acf_generic_root_color(bAnimContext *, bAnimListElem *, float r_color[3])
@ GREASE_PENCIL_ANIM_CHANNEL_EXPANDED
float ANIM_UI_get_first_channel_top(View2D *v2d)
@ ACHANNEL_SETTING_EXPAND
@ ACHANNEL_SETTING_MOD_OFF
@ ACHANNEL_SETTING_PROTECT
@ ACHANNEL_SETTING_VISIBLE
@ ACHANNEL_SETTING_PINNED
@ ACHANNEL_SETTING_ALWAYS_VISIBLE
@ ACHANNEL_SETTING_SELECT
static void * acf_dslinestyle_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bool acf_dsskey_setting_valid(bAnimContext *ac, bAnimListElem *, eAnimChannel_Settings setting)
static bool acf_fillanim_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static int acf_dstex_icon(bAnimListElem *)
static int acf_dscam_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void acf_nlaaction_color(bAnimContext *, bAnimListElem *ale, float r_color[3])
static bAnimChannelType ACF_DSCUR
static void acf_group_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static bAnimChannelType ACF_DSWOR
float ANIM_UI_get_channel_button_width()
static bAnimChannelType ACF_ACTION_SLOT
size_t ANIM_animdata_filter(bAnimContext *ac, ListBaseT< bAnimListElem > *anim_data, const eAnimFilter_Flags filter_mode, void *data, const eAnimCont_Types datatype)
void immVertex2f(uint attr_id, float x, float y)
static int acf_dscam_icon(bAnimListElem *)
static short acf_generic_indentation_flexible(bAnimContext *, bAnimListElem *ale)
static int acf_dslat_icon(bAnimListElem *)
static int acf_summary_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_nla_controls_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
@ ANIMFILTER_DATA_VISIBLE
@ ANIMFILTER_LIST_CHANNELS
static bAnimChannelType ACF_GROUP
static bAnimChannelType * animchannelTypeInfo[ANIMTYPE_NUM_TYPES]
void DEG_id_tag_update(ID *id, unsigned int flags)
static void * acf_dsspk_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static void * acf_masklay_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
void ANIM_channel_setting_set(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting, eAnimChannels_SetFlag mode)
static void * acf_summary_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static void acf_group_color(bAnimContext *, bAnimListElem *ale, float r_color[3])
@ GPU_SHADER_3D_UNIFORM_COLOR
BLI_INLINE float BLI_rctf_size_y(const struct rctf *rct)
static int acf_fillanim_icon(bAnimListElem *)
static bAnimChannelType ACF_DSSPK
static int acf_fillactd_icon(bAnimListElem *)
static int acf_shapekey_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
std::optional< std::string > BKE_keyblock_curval_rnapath_get(const Key *key, const KeyBlock *kb)
static int acf_dscurves_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_dsmesh_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bool acf_fcurve_setting_valid(bAnimContext *ac, bAnimListElem *, eAnimChannel_Settings setting)
static bAnimChannelType ACF_DSPART
static void acf_group_name(bAnimListElem *ale, char *name)
static bool acf_fillactd_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static bool acf_fcurve_channel_color(const bAnimListElem *ale, uint8_t r_color[3])
static void acf_generic_channel_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static void * acf_fcurve_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static bAnimChannelType ACF_NLACURVE
static bool acf_nlatrack_setting_valid(bAnimContext *, bAnimListElem *ale, eAnimChannel_Settings setting)
void BKE_nlatrack_solo_toggle(AnimData *adt, NlaTrack *nlt)
static bool acf_generic_idblock_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static bool acf_nlatrack_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
PropertyRNA * RNA_struct_type_find_property(StructRNA *srna, const char *identifier)
static bAnimChannelType ACF_OBJECT
static void acf_nlatrack_color(bAnimContext *, bAnimListElem *ale, float r_color[3])
void nla_action_get_color(AnimData *adt, bAction *act, float color[4])
static bAnimChannelType ACF_SCENE
static int acf_fcurve_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
void ANIM_channel_draw_widgets(const bContext *C, bAnimContext *ac, bAnimListElem *ale, ui::Block *block, const rctf *rect, size_t channel_index)
static void anim_channels_toggle_isolate(bAnimContext &ac, bAnimListElem *ale_setting)
static bAnimChannelType ACF_GPL
static bAnimChannelType ACF_FCURVE
static int acf_dsarm_icon(bAnimListElem *)
static void * acf_dscachefile_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
PropertyRNA * RNA_struct_name_property(const StructRNA *type)
static void * acf_dsntree_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
bAction * ANIM_channel_action_get(const bAnimListElem *ale)
static bool acf_nlaaction_setting_valid(bAnimContext *, bAnimListElem *ale, eAnimChannel_Settings setting)
uint GPU_vertformat_attr_add(GPUVertFormat *format, StringRef name, gpu::VertAttrType type)
BLI_INLINE int BLI_rcti_size_x(const struct rcti *rct)
static bAnimChannelType ACF_DSLIGHT
static int acf_gpd_icon(bAnimListElem *)
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
static int acf_nla_controls_icon(bAnimListElem *)
static void * acf_nlatrack_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
void BLI_str_tolower_ascii(char *str, size_t len) ATTR_NONNULL(1)
float ANIM_UI_get_channel_skip()
static void * acf_dscam_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_dspart_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_mask_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static void acf_generic_channel_color(bAnimContext *ac, bAnimListElem *ale, float r_color[3])
static bAnimChannelType ACF_DSLAT
static void acf_summary_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static void acf_action_slot_name(bAnimListElem *ale, char *r_name)
static short acf_generic_indentation_0(bAnimContext *, bAnimListElem *)
static int acf_dsntree_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static bAnimChannelType ACF_DSNTREE
static bool acf_group_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static void * acf_fillactd_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_scene_icon(bAnimListElem *)
static void * acf_dsmclip_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_dscur_icon(bAnimListElem *ale)
static bool acf_shapekey_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static bAnimChannelType ACF_DSCACHEFILE
static int acf_mask_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
float ANIM_UI_get_channels_total_height(View2D *v2d, const int item_count)
Main * CTX_data_main(const bContext *C)
void ANIM_flush_setting_anim_channels(bAnimContext *ac, ListBaseT< bAnimListElem > *anim_data, bAnimListElem *ale_setting, eAnimChannel_Settings setting, eAnimChannels_SetFlag mode)
static void draw_grease_pencil_layer_widgets(bAnimListElem *ale, ui::Block *block, const rctf *rect, short &offset, const short channel_height, const int array_index)
static int acf_dsmat_icon(bAnimListElem *)
static void * acf_fillanim_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
void ANIM_channel_debug_print_info(bAnimContext &ac, bAnimListElem *ale, short indent_level)
static int acf_dscur_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static bool acf_action_slot_setting_valid(bAnimContext *, bAnimListElem *, const eAnimChannel_Settings setting)
static bool achannel_is_broken(const bAnimListElem *ale)
static bool achannel_is_being_renamed(const bAnimContext *ac, const bAnimChannelType *acf, size_t channel_index)
static void * acf_dsvolume_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bAnimChannelType ACF_FILLDRIVERS
void ANIM_animdata_freelist(ListBaseT< bAnimListElem > *anim_data)
std::optional< int > getname_anim_fcurve(char *name, ID *id, FCurve *fcu)
NlaKeyframingContext * BKE_animsys_get_nla_keyframing_context(ListBaseT< NlaKeyframingContext > *cache, PointerRNA *ptr, AnimData *adt, const AnimationEvalContext *anim_eval_context)
BLI_INLINE float BLI_rctf_cent_y(const struct rctf *rct)
static bool acf_nlaaction_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static short acf_generic_group_offset(bAnimContext *ac, bAnimListElem *ale)
@ ID_RECALC_ANIMATION_NO_FLUSH
ID_Type GS(const char *name)
static bool acf_object_setting_valid(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting)
static bool acf_mask_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static int acf_group_setting_flag(bAnimContext *ac, eAnimChannel_Settings setting, bool *r_neg)
static bool acf_summary_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static bAnimChannelType ACF_NLACONTROLS
static void * acf_dscurves_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_dspointcloud_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_dstex_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bAnimChannelType ACF_DSMBALL
float ANIM_UI_get_keyframe_scale_factor()
static int acf_fillanim_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void achannel_nlatrack_solo_widget_cb(bContext *C, void *ale_poin, void *setting_wrap)
void DEG_relations_tag_update(Main *bmain)
static bool acf_shapekey_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static bool acf_gpl_setting_valid_legacy(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static bAnimChannelType ACF_DSCURVES
Scene * CTX_data_scene(const bContext *C)
static int acf_dsvolume_icon(bAnimListElem *)
static int acf_dsmball_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static bAnimChannelType ACF_MASKDATA
void immUniformColor3fv(const float rgb[3])
void GPU_blend(GPUBlend blend)
static int acf_object_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_gpl_setting_ptr_legacy(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
static int acf_object_icon(bAnimListElem *ale)
static int acf_dswor_icon(bAnimListElem *)
std::string getname_anim_fcurve_for_slot(Main &bmain, const animrig::Slot &slot, FCurve &fcurve)
static void draw_setting_widget(bAnimContext *ac, bAnimListElem *ale, const bAnimChannelType *acf, ui::Block *block, const int xpos, const int ypos, const eAnimChannel_Settings setting)
static int acf_fillactd_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static bAnimChannelType ACF_SUMMARY
static void * acf_object_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static bool acf_gpl_channel_color(const bAnimListElem *ale, uint8_t r_color[3])
static int acf_action_slot_icon(bAnimListElem *)
ReportList * CTX_wm_reports(const bContext *C)
static bool acf_gpd_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static void * acf_nlaaction_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings, short *r_type)
bool BKE_id_is_editable(const Main *bmain, const ID *id)
static short acf_dstex_offset(bAnimContext *, bAnimListElem *)
void immUniformColor3fvAlpha(const float rgb[3], float a)
static int acf_nla_controls_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
bool RNA_path_resolve_property(const PointerRNA *ptr, const char *path, PointerRNA *r_ptr, PropertyRNA **r_prop)
static void achannel_setting_flush_widget_cb(bContext *C, void *ale_npoin, void *setting_wrap)
void immRectf(uint pos, float x1, float y1, float x2, float y2)
static void acf_nla_controls_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static int acf_dspart_icon(bAnimListElem *)
static int acf_nlaaction_icon(bAnimListElem *ale)
static void ANIM_init_channel_typeinfo_data()
static bAnimChannelType ACF_DSPOINTCLOUD
static int acf_masklay_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
float ANIM_UI_get_channel_step()
static bool acf_generic_idfill_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static void * acf_dslat_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static void acf_nla_controls_color(bAnimContext *, bAnimListElem *, float r_color[3])
static bAnimChannelType ACF_DSLIGHTPROBE
static int acf_dscurves_icon(bAnimListElem *)
static bool acf_filldrivers_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
static short acf_dsntree_offset(bAnimContext *ac, bAnimListElem *ale)
static bAnimChannelType ACF_DSCAM
static void acf_nlaaction_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
static bool acf_nla_controls_setting_valid(bAnimContext *, bAnimListElem *, eAnimChannel_Settings setting)
const char * RNA_property_ui_name(const PropertyRNA *prop, const PointerRNA *ptr)
static int acf_dstex_setting_flag(bAnimContext *, eAnimChannel_Settings setting, bool *r_neg)
static void * acf_dsgpencil_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
static int acf_dsntree_icon(bAnimListElem *)
static void acf_nlatrack_name(bAnimListElem *ale, char *name)
static bAnimChannelType ACF_DSLINESTYLE
static bAnimChannelType ACF_DSTEX
static void acf_nlatrack_setting_post_update(Main &bmain, const bAnimListElem &, const eAnimChannel_Settings setting)
static void acf_generic_idblock_name(bAnimListElem *ale, char *name)
static bool acf_fcurve_name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
static void * acf_dspointcloud_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
ListBaseT< FModifier > modifiers
GreasePencilLayerTreeNode base
GreasePencilLayerTreeNodeFlag flag
ShapekeyContainerFlag flag
struct ToolSettings * toolsettings
const char * channel_type_name
void(*) name(bAnimListElem *ale, char *name)
bool(*) name_prop(bAnimListElem *ale, PointerRNA *r_ptr, PropertyRNA **r_prop)
bool(*) has_setting(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting)
short(*) get_offset(bAnimContext *ac, bAnimListElem *ale)
short(*) get_indent_level(bAnimContext *ac, bAnimListElem *ale)
int(*) setting_flag(bAnimContext *ac, eAnimChannel_Settings setting, bool *r_neg)
void(*) draw_backdrop(bAnimContext *ac, bAnimListElem *ale, float yminc, float ymaxc)
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(*) setting_post_update(Main &bmain, const bAnimListElem &ale, eAnimChannel_Settings setting)
void *(*) setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *r_type)
int(*) icon(bAnimListElem *ale)
eAnimChannel_Role channel_role
eGPDlayer_OnionFlag onion_flag
wmEventModifierFlag modifier
bke::WindowRuntime * runtime