|
Blender V5.0
|
#include <cstdio>#include "ANIM_action.hh"#include "ANIM_animdata.hh"#include "ANIM_keyframing.hh"#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_math_color.h"#include "BLI_math_vector.h"#include "BLI_string.h"#include "BLI_string_utf8.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_cachefile_types.h"#include "DNA_camera_types.h"#include "DNA_curves_types.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_grease_pencil_types.h"#include "DNA_key_types.h"#include "DNA_lattice_types.h"#include "DNA_light_types.h"#include "DNA_lightprobe_types.h"#include "DNA_linestyle_types.h"#include "DNA_mask_types.h"#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_meta_types.h"#include "DNA_node_types.h"#include "DNA_object_types.h"#include "DNA_particle_types.h"#include "DNA_pointcloud_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "DNA_speaker_types.h"#include "DNA_userdef_types.h"#include "DNA_volume_types.h"#include "DNA_world_types.h"#include "RNA_access.hh"#include "RNA_path.hh"#include "RNA_prototypes.hh"#include "BKE_anim_data.hh"#include "BKE_animsys.h"#include "BKE_context.hh"#include "BKE_curve.hh"#include "BKE_grease_pencil.hh"#include "BKE_key.hh"#include "BKE_lib_id.hh"#include "BKE_nla.hh"#include "GPU_immediate.hh"#include "GPU_state.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"#include "UI_interface.hh"#include "UI_interface_icons.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "ED_anim_api.hh"#include "ANIM_fcurve.hh"#include "WM_api.hh"#include "WM_types.hh"#include "anim_intern.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::animation |
| namespace | blender::ed::animation::greasepencil |
Macros | |
| #define | EXTRA_SCROLL_PAD 100.0f |
| #define | INDENT_STEP_SIZE (0.35f * U.widget_unit) |
| #define | GET_ACF_FLAG_PTR(ptr, type) |
| #define | ACF_SETTING_SET(sval, sflag, smode) |
| #define | ICON_WIDTH (0.85f * U.widget_unit) |
| #define | SLIDER_WIDTH (4 * U.widget_unit) |
| #define | RENAME_TEXT_MIN_WIDTH (U.widget_unit) |
| #define | GRAPH_COLOR_BAND_WIDTH (0.3f * U.widget_unit) |
| #define | GRAPH_ICON_VISIBILITY_OFFSET (GRAPH_COLOR_BAND_WIDTH * 1.5f) |
| #define | CHANNEL_COLOR_RECT_WIDTH (0.5f * ICON_WIDTH) |
| #define | CHANNEL_COLOR_RECT_MARGIN (2.0f * UI_SCALE_FAC) |
| #define ACF_SETTING_SET | ( | sval, | |
| sflag, | |||
| smode ) |
Definition at line 4962 of file anim_channels_defines.cc.
Referenced by ANIM_channel_setting_set().
| #define CHANNEL_COLOR_RECT_MARGIN (2.0f * UI_SCALE_FAC) |
Definition at line 5053 of file anim_channels_defines.cc.
Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().
| #define CHANNEL_COLOR_RECT_WIDTH (0.5f * ICON_WIDTH) |
Definition at line 5052 of file anim_channels_defines.cc.
Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().
| #define EXTRA_SCROLL_PAD 100.0f |
Definition at line 93 of file anim_channels_defines.cc.
Referenced by acf_generic_channel_backdrop(), acf_generic_dataexpand_backdrop(), acf_generic_root_backdrop(), acf_group_backdrop(), acf_nla_controls_backdrop(), acf_summary_backdrop(), ANIM_channel_draw(), clip_draw_dopesheet_channels(), clip_draw_dopesheet_main(), draw_backdrops(), and draw_channel_strips().
| #define GET_ACF_FLAG_PTR | ( | ptr, | |
| type ) |
Definition at line 99 of file anim_channels_defines.cc.
Referenced by acf_action_slot_setting_ptr(), acf_dsarm_setting_ptr(), acf_dscachefile_setting_ptr(), acf_dscam_setting_ptr(), acf_dscur_setting_ptr(), acf_dscurves_setting_ptr(), acf_dsgpencil_setting_ptr(), acf_dslat_setting_ptr(), acf_dslight_setting_ptr(), acf_dslightprobe_setting_ptr(), acf_dslinestyle_setting_ptr(), acf_dsmat_setting_ptr(), acf_dsmball_setting_ptr(), acf_dsmclip_setting_ptr(), acf_dsmesh_setting_ptr(), acf_dsntree_setting_ptr(), acf_dspart_setting_ptr(), acf_dspointcloud_setting_ptr(), acf_dsskey_setting_ptr(), acf_dsspk_setting_ptr(), acf_dstex_setting_ptr(), acf_dsvolume_setting_ptr(), acf_dswor_setting_ptr(), acf_fcurve_setting_ptr(), acf_fillactd_setting_ptr(), acf_fillanim_setting_ptr(), acf_filldrivers_setting_ptr(), acf_gpl_setting_ptr_legacy(), acf_group_setting_ptr(), acf_mask_setting_ptr(), acf_masklay_setting_ptr(), acf_nla_controls_setting_ptr(), acf_nlaaction_setting_ptr(), acf_nlatrack_setting_ptr(), acf_object_setting_ptr(), acf_scene_setting_ptr(), acf_shapekey_setting_ptr(), acf_summary_setting_ptr(), blender::ed::animation::greasepencil::data_block_setting_ptr(), blender::ed::animation::greasepencil::layer_group_setting_ptr(), and blender::ed::animation::greasepencil::layer_setting_ptr().
| #define GRAPH_COLOR_BAND_WIDTH (0.3f * U.widget_unit) |
Width of graph editor color bands.
Definition at line 5048 of file anim_channels_defines.cc.
Referenced by ANIM_channel_draw().
| #define GRAPH_ICON_VISIBILITY_OFFSET (GRAPH_COLOR_BAND_WIDTH * 1.5f) |
Extra offset for the visibility icons in the graph editor.
Definition at line 5050 of file anim_channels_defines.cc.
Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().
| #define ICON_WIDTH (0.85f * U.widget_unit) |
Size of icons.
Definition at line 5042 of file anim_channels_defines.cc.
Referenced by ANIM_channel_draw(), ANIM_channel_draw_widgets(), draw_grease_pencil_layer_widgets(), and draw_setting_widget().
| #define INDENT_STEP_SIZE (0.35f * U.widget_unit) |
Definition at line 96 of file anim_channels_defines.cc.
Referenced by acf_generic_basic_offset(), and acf_nodetree_rootType_offset().
| #define RENAME_TEXT_MIN_WIDTH (U.widget_unit) |
Min-width of rename text-boxes.
Definition at line 5046 of file anim_channels_defines.cc.
Referenced by ANIM_channel_draw_widgets().
| #define SLIDER_WIDTH (4 * U.widget_unit) |
Width of sliders.
Definition at line 5044 of file anim_channels_defines.cc.
Referenced by ANIM_channel_draw(), ANIM_channel_draw_widgets(), and draw_grease_pencil_layer_widgets().
|
static |
Definition at line 1462 of file anim_channels_defines.cc.
|
static |
Definition at line 1467 of file anim_channels_defines.cc.
References bAnimListElem::data, ActionSlot::idtype, and UI_icon_from_idcode().
Referenced by ANIM_channel_draw_widgets().
|
static |
Definition at line 1424 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_assert, BLI_assert_unreachable, BLI_snprintf_utf8(), BLI_strncpy_utf8(), bAnimListElem::bmain, blender::StringRefNull::c_str(), bAnimListElem::data, blender::animrig::Slot::identifier_without_prefix(), Span< T >::size(), and blender::animrig::Slot::users().
|
static |
Definition at line 1451 of file anim_channels_defines.cc.
References BLI_assert, bAnimListElem::data, bAnimListElem::fcurve_owner_id, GS, ID_AC, ID::name, RNA_pointer_create_discrete(), and RNA_struct_find_property().
|
static |
Definition at line 1487 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_SELECT, blender::animrig::Slot::Expanded, and blender::animrig::Slot::Selected.
|
static |
Definition at line 1502 of file anim_channels_defines.cc.
References bAnimListElem::data, GET_ACF_FLAG_PTR, and ActionSlot::slot_flags.
|
static |
Definition at line 1473 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_SELECT.
|
static |
Definition at line 2596 of file anim_channels_defines.cc.
|
static |
Definition at line 2602 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and ARM_DS_EXPAND.
|
static |
Definition at line 2632 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, bArmature::adt, bAnimListElem::data, AnimData::flag, bArmature::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1972 of file anim_channels_defines.cc.
References UNUSED_VARS.
|
static |
Definition at line 1979 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, CACHEFILE_DS_EXPAND, and UNUSED_VARS.
|
static |
Definition at line 2008 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, CacheFile::adt, bAnimListElem::data, AnimData::flag, CacheFile::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2059 of file anim_channels_defines.cc.
|
static |
Definition at line 2065 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and CAM_DS_EXPAND.
|
static |
Definition at line 2095 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Camera::adt, bAnimListElem::data, AnimData::flag, Camera::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2146 of file anim_channels_defines.cc.
References bAnimListElem::data, OB_FONT, OB_SURF, and Curve::ob_type.
|
static |
Definition at line 2160 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and CU_DS_EXPAND.
|
static |
Definition at line 2190 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Curve::adt, bAnimListElem::data, AnimData::flag, Curve::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3119 of file anim_channels_defines.cc.
|
static |
Definition at line 3125 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and VO_DS_EXPAND.
|
static |
Definition at line 3155 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Curves::adt, bAnimListElem::data, AnimData::flag, Curves::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3477 of file anim_channels_defines.cc.
|
static |
Definition at line 3483 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and GP_DATA_EXPAND.
|
static |
Definition at line 3510 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, bGPdata::adt, bAnimListElem::data, AnimData::flag, bGPdata::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2948 of file anim_channels_defines.cc.
|
static |
Definition at line 2954 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and LT_DS_EXPAND.
|
static |
Definition at line 2984 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Lattice::adt, bAnimListElem::data, AnimData::flag, Lattice::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1795 of file anim_channels_defines.cc.
|
static |
Definition at line 1801 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and LA_DS_EXPAND.
|
static |
Definition at line 1831 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Light::adt, bAnimListElem::data, AnimData::flag, Light::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3380 of file anim_channels_defines.cc.
References bAnimListElem::data, LIGHTPROBE_TYPE_PLANE, LIGHTPROBE_TYPE_SPHERE, LIGHTPROBE_TYPE_VOLUME, and LightProbe::type.
|
static |
Definition at line 3396 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and LIGHTPROBE_DS_EXPAND.
|
static |
Definition at line 3426 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, LightProbe::adt, bAnimListElem::data, AnimData::flag, LightProbe::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2777 of file anim_channels_defines.cc.
|
static |
Definition at line 2783 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and LS_DS_EXPAND.
|
static |
Definition at line 2810 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, FreestyleLineStyle::adt, bAnimListElem::data, AnimData::flag, FreestyleLineStyle::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1712 of file anim_channels_defines.cc.
|
static |
Definition at line 1718 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and MA_DS_EXPAND.
|
static |
Definition at line 1745 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Material::adt, bAnimListElem::data, AnimData::flag, Material::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2509 of file anim_channels_defines.cc.
|
static |
Definition at line 2515 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and MB_DS_EXPAND.
|
static |
Definition at line 2545 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, MetaBall::adt, bAnimListElem::data, AnimData::flag, MetaBall::flag2, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3560 of file anim_channels_defines.cc.
|
static |
Definition at line 3566 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and MCLIP_DATA_EXPAND.
|
static |
Definition at line 3593 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, MovieClip::adt, bAnimListElem::data, AnimData::flag, MovieClip::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2860 of file anim_channels_defines.cc.
|
static |
Definition at line 2866 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and ME_DS_EXPAND.
|
static |
Definition at line 2896 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Mesh::adt, bAnimListElem::data, AnimData::flag, Mesh::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2683 of file anim_channels_defines.cc.
|
static |
Definition at line 2689 of file anim_channels_defines.cc.
References acf_generic_basic_offset(), acf_nodetree_rootType_offset(), and bAnimListElem::data.
|
static |
Definition at line 2700 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and NTREE_DS_EXPAND.
|
static |
Definition at line 2727 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, bNodeTree::adt, bAnimListElem::data, AnimData::flag, bNodeTree::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2426 of file anim_channels_defines.cc.
|
static |
Definition at line 2432 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and PART_DS_EXPAND.
|
static |
Definition at line 2459 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ParticleSettings::adt, bAnimListElem::data, AnimData::flag, ParticleSettings::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3206 of file anim_channels_defines.cc.
|
static |
Definition at line 3212 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and VO_DS_EXPAND.
|
static |
Definition at line 3242 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, PointCloud::adt, bAnimListElem::data, AnimData::flag, PointCloud::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2241 of file anim_channels_defines.cc.
|
static |
Definition at line 2266 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and KEY_DS_EXPAND.
|
static |
Definition at line 2293 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Key::adt, bAnimListElem::data, AnimData::flag, Key::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2247 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, SPACE_NLA, and bAnimContext::spacetype.
|
static |
Definition at line 3036 of file anim_channels_defines.cc.
|
static |
Definition at line 3042 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and SPK_DS_EXPAND.
|
static |
Definition at line 3069 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Speaker::adt, bAnimListElem::data, AnimData::flag, Speaker::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1882 of file anim_channels_defines.cc.
|
static |
Definition at line 1889 of file anim_channels_defines.cc.
|
static |
Definition at line 1895 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and TEX_DS_EXPAND.
|
static |
Definition at line 1922 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Tex::adt, bAnimListElem::data, AnimData::flag, Tex::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3293 of file anim_channels_defines.cc.
|
static |
Definition at line 3299 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and VO_DS_EXPAND.
|
static |
Definition at line 3329 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Volume::adt, bAnimListElem::data, AnimData::flag, Volume::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 2343 of file anim_channels_defines.cc.
|
static |
Definition at line 2349 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, ADT_UI_SELECTED, and WO_DS_EXPAND.
|
static |
Definition at line 2376 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, World::adt, bAnimListElem::data, AnimData::flag, World::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1150 of file anim_channels_defines.cc.
References bAnimListElem::data, get_actiongroup_color(), and FCurve::grp.
|
static |
Definition at line 1014 of file anim_channels_defines.cc.
References BLI_assert, bAnimListElem::bmain, Span< T >::contains(), bAnimListElem::data, FCURVE_DISABLED, bAnimListElem::fcurve_owner_id, FCurve::flag, getname_anim_fcurve(), getname_anim_fcurve_for_slot(), GS, bAnimListElem::id, ID_AC, ID::name, name, ptr, RNA_id_pointer_create(), FCurve::rna_path, RNA_path_resolve_property(), blender::animrig::Action::slot_for_handle(), bAnimListElem::slot_handle, blender::animrig::Slot::unassigned, blender::animrig::Slot::users(), and wrap().
|
static |
Definition at line 1065 of file anim_channels_defines.cc.
References bAnimListElem::data, FCURVE_DISABLED, bAnimListElem::fcurve_owner_id, FCurve::flag, RNA_pointer_create_discrete(), and RNA_struct_find_property().
|
static |
Definition at line 1110 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, FCURVE_MOD_OFF, FCURVE_MUTED, FCURVE_PROTECTED, FCURVE_SELECTED, and FCURVE_VISIBLE.
|
static |
Definition at line 1140 of file anim_channels_defines.cc.
References bAnimListElem::data, FCurve::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1086 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_SOLO, ACHANNEL_SETTING_VISIBLE, SPACE_GRAPH, and bAnimContext::spacetype.
|
static |
Definition at line 1533 of file anim_channels_defines.cc.
|
static |
Definition at line 1555 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_SELECT, ACT_COLLAPSED, and ADT_UI_SELECTED.
|
static |
Definition at line 1576 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_SELECT, bAnimListElem::adt, bAnimListElem::data, AnimData::flag, bAction::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1539 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_SELECT.
|
static |
Definition at line 1341 of file anim_channels_defines.cc.
|
static |
Definition at line 1362 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_SELECT, ADT_UI_EXPANDED, and ADT_UI_SELECTED.
|
static |
Definition at line 1381 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_SELECT, bAnimListElem::adt, BLI_assert, AnimData::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1347 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_SELECT.
|
static |
Definition at line 1625 of file anim_channels_defines.cc.
|
static |
Definition at line 1630 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), IFACE_, and name.
|
static |
Definition at line 1652 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ADT_DRIVERS_COLLAPSED.
|
static |
Definition at line 1670 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, bAnimListElem::data, AnimData::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1637 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND.
|
static |
Definition at line 256 of file anim_channels_defines.cc.
References ANIM_channel_get_typeinfo(), bAnimChannelType::get_indent_level, and INDENT_STEP_SIZE.
Referenced by acf_dsntree_offset(), acf_generic_group_offset(), and blender::ed::animation::greasepencil::layer_offset().
|
static |
Definition at line 196 of file anim_channels_defines.cc.
References ANIM_channel_get_typeinfo(), View2D::cur, EXTRA_SCROLL_PAD, bAnimChannelType::get_backdrop_color, bAnimChannelType::get_offset, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformColor3fv(), immVertexFormat(), pos, bAnimContext::region, ARegion::v2d, and rctf::xmax.
|
static |
Definition at line 184 of file anim_channels_defines.cc.
References ANIM_channel_get_typeinfo(), bAnimChannelType::get_indent_level, TH_CHANNEL, and UI_GetThemeColorShade3fv().
|
static |
Definition at line 152 of file anim_channels_defines.cc.
References ANIM_channel_get_typeinfo(), View2D::cur, EXTRA_SCROLL_PAD, bAnimChannelType::get_backdrop_color, bAnimChannelType::get_offset, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformColor3fv(), immVertexFormat(), pos, bAnimContext::region, ARegion::v2d, and rctf::xmax.
|
static |
Definition at line 143 of file anim_channels_defines.cc.
References TH_DOPESHEET_CHANNELSUBOB, and UI_GetThemeColor3fv().
|
static |
Definition at line 390 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, SPACE_NLA, and bAnimContext::spacetype.
|
static |
Definition at line 292 of file anim_channels_defines.cc.
References acf_generic_basic_offset(), acf_nodetree_rootType_offset(), ANIMCONT_ACTION, ANIMTYPE_ACTION_SLOT, ANIMTYPE_FCURVE, ANIMTYPE_GROUP, ANIMTYPE_SUMMARY, BLI_assert_unreachable, bAnimContext::datatype, ELEM, bAnimListElem::fcurve_owner_id, GS, bAnimListElem::id, ID_MA, ID_NT, ID_PA, ID_TE, ID::name, bAnimListElem::type, and U.
|
static |
Definition at line 354 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), bAnimListElem::data, ID::name, and name.
|
static |
Definition at line 365 of file anim_channels_defines.cc.
References bAnimListElem::data, RNA_id_pointer_create(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 376 of file anim_channels_defines.cc.
References bAnimListElem::data, RNA_id_pointer_create(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 224 of file anim_channels_defines.cc.
|
static |
Definition at line 228 of file anim_channels_defines.cc.
|
static |
Definition at line 240 of file anim_channels_defines.cc.
References ANIMTYPE_FCURVE, bAnimListElem::data, FCurve::grp, and bAnimListElem::type.
|
static |
Definition at line 116 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ANIM_channel_get_typeinfo(), ANIM_channel_setting_get(), View2D::cur, EXTRA_SCROLL_PAD, bAnimChannelType::get_backdrop_color, bAnimChannelType::get_offset, bAnimContext::region, UI_CNR_BOTTOM_LEFT, UI_CNR_TOP_LEFT, UI_draw_roundbox_3fv_alpha(), UI_draw_roundbox_corner_set(), ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
|
static |
Definition at line 107 of file anim_channels_defines.cc.
References TH_DOPESHEET_CHANNELOB, and UI_GetThemeColor3fv().
|
static |
Definition at line 3760 of file anim_channels_defines.cc.
|
static |
Definition at line 3766 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_SELECT.
|
static |
Definition at line 3852 of file anim_channels_defines.cc.
References bGPDlayer::color, bAnimListElem::data, and rgb_float_to_uchar().
|
static |
Definition at line 3784 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), bAnimListElem::data, bGPDlayer::info, and name.
|
static |
Definition at line 3794 of file anim_channels_defines.cc.
References bAnimListElem::data, bAnimListElem::id, RNA_pointer_create_discrete(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 3826 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, GP_LAYER_FRAMELOCK, GP_LAYER_HIDE, GP_LAYER_LOCKED, and GP_LAYER_SELECT.
|
static |
Definition at line 3860 of file anim_channels_defines.cc.
References bAnimListElem::data, bGPDlayer::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3807 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_PINNED, and ACHANNEL_SETTING_SOLO.
|
static |
Definition at line 838 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ANIM_channel_get_typeinfo(), ANIM_channel_setting_get(), View2D::cur, EXTRA_SCROLL_PAD, bAnimChannelType::get_backdrop_color, bAnimChannelType::get_offset, bAnimContext::region, UI_CNR_BOTTOM_LEFT, UI_CNR_TOP_LEFT, UI_draw_roundbox_3fv_alpha(), UI_draw_roundbox_corner_set(), ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
|
static |
Definition at line 984 of file anim_channels_defines.cc.
References bAnimListElem::data, and get_actiongroup_color().
|
static |
Definition at line 827 of file anim_channels_defines.cc.
References AGRP_ACTIVE, bAnimListElem::flag, TH_GROUP, TH_GROUP_ACTIVE, and UI_GetThemeColor3fv().
|
static |
Definition at line 861 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), bAnimListElem::data, bActionGroup::name, and name.
|
static |
Definition at line 872 of file anim_channels_defines.cc.
References bAnimListElem::data, bAnimListElem::fcurve_owner_id, RNA_pointer_create_discrete(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 905 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, AGRP_EXPANDED, AGRP_EXPANDED_G, AGRP_MODIFIERS_OFF, AGRP_MUTED, AGRP_NOTVISIBLE, AGRP_PROTECTED, AGRP_SELECTED, SPACE_GRAPH, and bAnimContext::spacetype.
|
static |
Definition at line 948 of file anim_channels_defines.cc.
References bAnimListElem::data, bActionGroup::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 881 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_SOLO, ACHANNEL_SETTING_VISIBLE, ELEM, SPACE_ACTION, SPACE_GRAPH, and bAnimContext::spacetype.
|
static |
Definition at line 4156 of file anim_channels_defines.cc.
References TH_DOPESHEET_CHANNELSUBOB, and UI_GetThemeColorShade3fv().
|
static |
Definition at line 4163 of file anim_channels_defines.cc.
|
static |
Definition at line 4185 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_SELECT, AGRP_SELECTED, and MASK_ANIMF_EXPAND.
|
static |
Definition at line 4204 of file anim_channels_defines.cc.
References bAnimListElem::data, GET_ACF_FLAG_PTR, and mask().
|
static |
Definition at line 4169 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ACHANNEL_SETTING_SELECT.
|
static |
Definition at line 4238 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), bAnimListElem::data, MaskLayer::name, and name.
|
static |
Definition at line 4248 of file anim_channels_defines.cc.
References bAnimListElem::data, bAnimListElem::id, RNA_pointer_create_discrete(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 4282 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, MASK_LAYERFLAG_LOCKED, and MASK_LAYERFLAG_SELECT.
|
static |
Definition at line 4302 of file anim_channels_defines.cc.
References bAnimListElem::data, MaskLayer::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 4261 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_SOLO, and ACHANNEL_SETTING_VISIBLE.
|
static |
Definition at line 1190 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ANIM_channel_get_typeinfo(), ANIM_channel_setting_get(), View2D::cur, EXTRA_SCROLL_PAD, bAnimChannelType::get_backdrop_color, bAnimChannelType::get_offset, bAnimContext::region, UI_CNR_BOTTOM_LEFT, UI_CNR_TOP_LEFT, UI_draw_roundbox_3fv_alpha(), UI_draw_roundbox_corner_set(), ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
|
static |
Definition at line 1181 of file anim_channels_defines.cc.
References TH_GROUP, and UI_GetThemeColorShade3fv().
|
static |
Definition at line 1269 of file anim_channels_defines.cc.
|
static |
Definition at line 1216 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), IFACE_, and name.
|
static |
Definition at line 1240 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ADT_NLA_SKEYS_COLLAPSED.
|
static |
Definition at line 1259 of file anim_channels_defines.cc.
References bAnimListElem::data, AnimData::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 1222 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND.
|
static |
Definition at line 1298 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, FCurve::array_index, BLI_snprintf_utf8(), bAnimListElem::data, name, NlaStrip::name, bAnimListElem::owner, FCurve::rna_path, RNA_property_ui_name(), and RNA_struct_type_find_property().
|
static |
Definition at line 4535 of file anim_channels_defines.cc.
References bAnimListElem::adt, ADT_NLA_EDIT_ON, ADT_NLA_SOLO_TRACK, ANIM_channel_get_typeinfo(), View2D::cur, bAnimListElem::data, AnimData::flag, bAnimChannelType::get_offset, nla_action_get_color(), NLATRACK_SKIP, bAnimContext::region, UI_CNR_TOP_LEFT, UI_draw_roundbox_4fv(), UI_draw_roundbox_corner_set(), ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
|
static |
Definition at line 4516 of file anim_channels_defines.cc.
References bAnimListElem::adt, copy_v3_v3(), bAnimListElem::data, and nla_action_get_color().
|
static |
Definition at line 4500 of file anim_channels_defines.cc.
References bAnimListElem::adt, ADT_NLA_EDIT_ON, and AnimData::flag.
|
static |
Definition at line 4574 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), bAnimListElem::data, bAction::id, IFACE_, ID::name, and name.
|
static |
Definition at line 4590 of file anim_channels_defines.cc.
References bAnimListElem::data, bAnimListElem::fcurve_owner_id, RNA_pointer_create_discrete(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 4630 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_SELECT, ADT_NLA_EDIT_NOMAP, and ADT_UI_SELECTED.
|
static |
Definition at line 4651 of file anim_channels_defines.cc.
References bAnimListElem::adt, AnimData::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 4603 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_SELECT, bAnimListElem::adt, ADT_NLA_EDIT_ON, and AnimData::flag.
|
static |
Definition at line 4336 of file anim_channels_defines.cc.
References bAnimListElem::adt, ADT_NLA_SOLO_TRACK, bAnimListElem::data, AnimData::flag, NlaTrack::flag, NLATRACK_SOLO, TH_NLA_TRACK, and UI_GetThemeColorShade3fv().
|
static |
Definition at line 4355 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), bAnimListElem::data, name, and NlaTrack::name.
|
static |
Definition at line 4365 of file anim_channels_defines.cc.
References bAnimListElem::data, bAnimListElem::id, RNA_pointer_create_discrete(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 4420 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_SOLO, NLATRACK_MUTED, NLATRACK_PROTECTED, NLATRACK_SELECTED, and NLATRACK_SOLO.
|
static |
Definition at line 4454 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_SOLO, ACHANNEL_SETTING_VISIBLE, and DEG_relations_tag_update().
|
static |
Definition at line 4446 of file anim_channels_defines.cc.
References bAnimListElem::data, NlaTrack::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 4378 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_SOLO, bAnimListElem::adt, ADT_NLA_SOLO_TRACK, bAnimListElem::data, AnimData::flag, NlaTrack::flag, NLATRACK_ACTIVE, NLATRACK_DISABLED, and NLATRACK_SOLO.
|
static |
Definition at line 267 of file anim_channels_defines.cc.
References INDENT_STEP_SIZE, NTREE_COMPOSIT, NTREE_SHADER, NTREE_TEXTURE, and bNodeTree::type.
Referenced by acf_dsntree_offset(), and acf_generic_group_offset().
|
static |
Definition at line 646 of file anim_channels_defines.cc.
References bAnimListElem::data, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_EMPTY, OB_FONT, OB_GREASE_PENCIL, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_VOLUME, Base::object, and Object::type.
|
static |
Definition at line 691 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), bAnimListElem::data, Object::id, ID::name, name, and Base::object.
|
static |
Definition at line 703 of file anim_channels_defines.cc.
References bAnimListElem::id, RNA_id_pointer_create(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 742 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, BASE_SELECTED, and OB_ADS_COLLAPSED.
|
static |
Definition at line 773 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Object::adt, bAnimListElem::data, AnimData::flag, Base::flag, GET_ACF_FLAG_PTR, Object::nlaflag, and Base::object.
|
static |
Definition at line 712 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Object::adt, bAnimListElem::data, Base::object, SPACE_GRAPH, SPACE_NLA, and bAnimContext::spacetype.
|
static |
Definition at line 534 of file anim_channels_defines.cc.
|
static |
Definition at line 567 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ADT_CURVES_NOT_VISIBLE, ADT_NLA_EVAL_OFF, SCE_DS_COLLAPSED, and SCE_DS_SELECTED.
|
static |
Definition at line 595 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, Scene::adt, bAnimListElem::data, AnimData::flag, Scene::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 540 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, SPACE_GRAPH, SPACE_NLA, and bAnimContext::spacetype.
|
static |
Definition at line 3643 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_snprintf_utf8(), BLI_strncpy_utf8(), bAnimListElem::data, IFACE_, bAnimListElem::index, KeyBlock::name, and name.
|
static |
Definition at line 3660 of file anim_channels_defines.cc.
References bAnimListElem::data, bAnimListElem::id, KeyBlock::name, RNA_pointer_create_discrete(), RNA_struct_name_property(), and PointerRNA::type.
|
static |
Definition at line 3693 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, KEYBLOCK_LOCKED, KEYBLOCK_MUTE, and KEYBLOCK_SEL.
|
static |
Definition at line 3716 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, bAnimListElem::data, KeyBlock::flag, and GET_ACF_FLAG_PTR.
|
static |
Definition at line 3676 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PROTECT, and ACHANNEL_SETTING_SELECT.
|
static |
Definition at line 178 of file anim_channels_defines.cc.
References U, and USER_ANIM_SHOW_CHANNEL_GROUP_COLORS.
Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().
|
static |
Definition at line 432 of file anim_channels_defines.cc.
References ANIM_channel_get_typeinfo(), View2D::cur, EXTRA_SCROLL_PAD, bAnimChannelType::get_backdrop_color, bAnimContext::region, UI_CNR_BOTTOM_LEFT, UI_CNR_TOP_LEFT, UI_draw_roundbox_3fv_alpha(), UI_draw_roundbox_corner_set(), ARegion::v2d, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
|
static |
Definition at line 422 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, ANIM_channel_setting_get(), TH_ANIM_ACTIVE, TH_HEADER, and UI_GetThemeColor3fv().
|
static |
Definition at line 456 of file anim_channels_defines.cc.
References ANIM_CHAN_NAME_SIZE, BLI_strncpy_utf8(), IFACE_, and name.
|
static |
Definition at line 473 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, and ADS_FLAG_SUMMARY_COLLAPSED.
|
static |
Definition at line 489 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND, SpaceAction::ads, bAnimListElem::data, bDopeSheet::flag, GET_ACF_FLAG_PTR, bAnimContext::sl, SPACE_ACTION, and bAnimContext::spacetype.
|
static |
Definition at line 464 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_EXPAND.
|
static |
Definition at line 5056 of file anim_channels_defines.cc.
References bAnimContext::ads, bAnimChannelType::name_prop, and bDopeSheet::renameIndex.
Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().
|
static |
Check if the animation channel name should be underlined in red due to errors.
Definition at line 5116 of file anim_channels_defines.cc.
References ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, bAnimListElem::data, FCurve::driver, DRIVER_FLAG_INVALID, FCURVE_DISABLED, ChannelDriver::flag, FCurve::flag, and bAnimListElem::type.
Referenced by ANIM_channel_draw().
|
static |
Check if the animation channel is an item that either is or belongs to a disconnected action slot.
Definition at line 5075 of file anim_channels_defines.cc.
References ANIMTYPE_ACTION_SLOT, ANIMTYPE_FCURVE, ANIMTYPE_GROUP, BLI_assert, bAnimListElem::bmain, bAnimListElem::data, bAnimListElem::fcurve_owner_id, GS, ID_AC, blender::animrig::Action::is_action_legacy(), Span< T >::is_empty(), ID::name, blender::animrig::Action::slot_for_handle(), bAnimListElem::slot_handle, bAnimListElem::type, blender::animrig::Slot::users(), and wrap().
Referenced by ANIM_channel_draw().
|
static |
Definition at line 5578 of file anim_channels_defines.cc.
References achannel_setting_widget_cb(), bAnimListElem::adt, BKE_nlatrack_solo_toggle(), C, bAnimListElem::data, DEG_id_tag_update(), NlaTrack::flag, bAnimListElem::id, ID_RECALC_ANIMATION, and NLATRACK_SOLO.
Referenced by draw_setting_widget().
|
static |
Definition at line 5506 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_VISIBLE, achannel_setting_widget_cb(), AnimData::action, bAnimListElem::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_channel_setting_get(), ANIM_flush_setting_anim_channels(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, C, bAnimContext::data, bAnimContext::datatype, DEG_id_tag_update(), ELEM, filter, bAction::id, bAnimListElem::id, bGPdata::id, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, NA_EDITED, NC_GPENCIL, ND_DATA, POINTER_AS_INT, bAnimListElem::type, and WM_event_add_notifier().
Referenced by draw_setting_widget().
|
static |
Definition at line 5601 of file anim_channels_defines.cc.
References AnimData::action, BKE_animdata_from_id(), BKE_animsys_eval_context_construct(), BKE_animsys_free_nla_keyframing_context_cache(), BKE_animsys_get_nla_keyframing_context(), BKE_nla_tweakedit_remap(), C, RenderData::cfra, CTX_data_depsgraph_pointer(), CTX_data_scene(), CTX_wm_reports(), DEG_id_tag_update(), depsgraph, blender::animrig::fcurve_frame_has_keyframe(), flag, blender::animrig::get_keyframing_flags(), bAction::id, ID_RECALC_ANIMATION_NO_FLUSH, blender::animrig::insert_keyframe_direct(), INSERTKEY_NOFLAGS, INSERTKEY_REPLACE, ToolSettings::keyframe_type, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, NLATIME_CONVERT_UNMAP, ptr, Scene::r, RNA_id_pointer_create(), FCurve::rna_path, RNA_path_resolve_property(), Scene::toolsettings, and WM_event_add_notifier().
Referenced by ANIM_channel_draw_widgets().
|
static |
Definition at line 5698 of file anim_channels_defines.cc.
References BKE_animsys_eval_context_construct(), C, RenderData::cfra, CTX_data_depsgraph_pointer(), CTX_data_scene(), CTX_wm_reports(), depsgraph, blender::animrig::fcurve_frame_has_keyframe(), flag, float, blender::animrig::get_keyframing_flags(), blender::animrig::insert_keyframe_direct(), INSERTKEY_NOFLAGS, INSERTKEY_REPLACE, ToolSettings::keyframe_type, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, ptr, Scene::r, Scene::toolsettings, UI_context_active_but_prop_get(), and WM_event_add_notifier().
Referenced by ANIM_channel_draw_widgets().
|
static |
Definition at line 5663 of file anim_channels_defines.cc.
References BKE_animsys_eval_context_construct(), BKE_keyblock_curval_rnapath_get(), BLI_assert, C, RenderData::cfra, CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_data_scene(), depsgraph, flag, blender::animrig::insert_keyframes(), INSERTKEY_NOFLAGS, ToolSettings::keyframe_type, Scene::r, RNA_id_pointer_create(), and Scene::toolsettings.
Referenced by ANIM_channel_draw_widgets().
|
static |
Definition at line 5477 of file anim_channels_defines.cc.
References ANIM_channel_get_typeinfo(), BLI_assert, BLI_assert_unreachable, C, CTX_data_main(), NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, POINTER_AS_INT, bAnimChannelType::setting_post_update, and WM_event_add_notifier().
Referenced by achannel_nlatrack_solo_widget_cb(), achannel_setting_flush_widget_cb(), and draw_setting_widget().
| bAction * ANIM_channel_action_get | ( | const bAnimListElem * | ale | ) |
Retrieves the Action associated with this animation channel.
Definition at line 4888 of file anim_channels_defines.cc.
References ALE_ACT, ANIMTYPE_FCURVE, ANIMTYPE_GROUP, bAnimListElem::datatype, ELEM, bAnimListElem::fcurve_owner_id, GS, ID_AC, bAnimListElem::key_data, ID::name, and bAnimListElem::type.
Referenced by draw_channel_action_ranges(), and screen_ctx_sel_actions_impl().
| void ANIM_channel_debug_print_info | ( | bAnimContext & | ac, |
| bAnimListElem * | ale, | ||
| short | indent_level ) |
Print debug info string for the given channel.
Definition at line 4809 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_SOLO, ACHANNEL_SETTING_VISIBLE, ANIM_CHAN_NAME_SIZE, ANIM_channel_get_typeinfo(), as_int(), BLI_assert_unreachable, BLI_str_tolower_ascii(), bAnimChannelType::channel_type_name, bAnimChannelType::has_setting, bAnimChannelType::name, name, printf, bAnimChannelType::setting_flag, setting_name(), bAnimChannelType::setting_ptr, STRNCPY_UTF8, and bAnimListElem::type.
Referenced by debug_channel_list_exec().
| void ANIM_channel_draw | ( | bAnimContext * | ac, |
| bAnimListElem * | ale, | ||
| float | yminc, | ||
| float | ymaxc, | ||
| size_t | channel_index ) |
Draw the given channel.
Definition at line 5179 of file anim_channels_defines.cc.
References acf_show_channel_colors(), achannel_is_being_renamed(), achannel_is_broken(), achannel_is_part_of_disconnected_slot(), ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_SOLO, ACHANNEL_SETTING_VISIBLE, ANIM_CHAN_NAME_SIZE, ANIM_channel_get_typeinfo(), ANIM_channel_setting_get(), ANIM_UI_get_channel_button_width(), ANIMTYPE_DSGPENCIL, ANIMTYPE_FCURVE, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, ANIMTYPE_GROUP, ANIMTYPE_NLAACTION, ANIMTYPE_NLACURVE, ANIMTYPE_SHAPEKEY, BLI_assert_unreachable, BLI_rcti_size_x(), CHANNEL_COLOR_RECT_MARGIN, CHANNEL_COLOR_RECT_WIDTH, col, FCurve::color, View2D::cur, bAnimListElem::data, bAnimChannelType::draw_backdrop, ELEM, EXTRA_SCROLL_PAD, FCURVE_VISIBLE, FCurve::flag, SpaceAction::flag, SpaceGraph::flag, bAnimChannelType::get_backdrop_color, bAnimChannelType::get_offset, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_line_width(), GPU_PRIM_LINES, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), GRAPH_COLOR_BAND_WIDTH, GRAPH_ICON_VISIBILITY_OFFSET, bAnimChannelType::has_setting, bAnimChannelType::icon, ICON_WIDTH, immBegin(), immBindBuiltinProgram(), immEnd(), immRectf(), immUnbindProgram(), immUniformColor3f(), immUniformColor3fv(), immUniformColor3fvAlpha(), immVertex2f(), immVertexFormat(), View2D::mask, bAnimChannelType::name, name, NLATRACK_SKIP, pos, bAnimContext::region, SACTION_SLIDERS, SIPO_SLIDERS, bAnimContext::sl, SLIDER_WIDTH, SPACE_ACTION, SPACE_GRAPH, SPACE_NLA, bAnimContext::spacetype, TH_TEXT, TH_TEXT_HI, bAnimListElem::type, U, UI_fontstyle_draw_simple(), UI_FSTYLE_WIDGET, UI_GetThemeColor4ubv(), UI_icon_draw(), ARegion::v2d, V2D_SCROLL_WIDTH, rctf::xmax, and y.
Referenced by draw_channel_names(), draw_nla_track_list(), and graph_draw_channel_names().
| void ANIM_channel_draw_widgets | ( | const bContext * | C, |
| bAnimContext * | ac, | ||
| bAnimListElem * | ale, | ||
| uiBlock * | block, | ||
| const rctf * | rect, | ||
| size_t | channel_index ) |
Draw UI widgets the given channel.
Definition at line 6084 of file anim_channels_defines.cc.
References acf_action_slot_idtype_icon(), acf_show_channel_colors(), achannel_is_being_renamed(), ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_PROTECT, achannel_setting_slider_cb(), achannel_setting_slider_nla_curve_cb(), achannel_setting_slider_shapekey_cb(), ACHANNEL_SETTING_SOLO, ACHANNEL_SETTING_VISIBLE, AnimData::action, bAnimContext::ads, bAnimListElem::adt, ADT_NLA_EDIT_ON, ANIM_channel_get_typeinfo(), ANIM_UI_get_channel_button_width(), ANIMTYPE_ACTION_SLOT, ANIMTYPE_FCURVE, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, ANIMTYPE_NLAACTION, ANIMTYPE_NLACURVE, ANIMTYPE_SHAPEKEY, FCurve::array_index, FCurve::bezt, BKE_keyblock_curval_rnapath_get(), BLI_assert_unreachable, BLI_rctf_cent_y(), BLI_rctf_size_y(), BLI_rcti_size_x(), But, C, CHANNEL_COLOR_RECT_MARGIN, CHANNEL_COLOR_RECT_WIDTH, bAnimListElem::data, draw_grease_pencil_layer_widgets(), draw_setting_widget(), ELEM, blender::ui::Emboss, AnimData::flag, bGPdata::flag, SpaceAction::flag, SpaceGraph::flag, bAnimChannelType::get_channel_color, bAnimChannelType::get_offset, GP_DATA_ANNOTATIONS, GP_LAYER_ONIONSKIN, GPU_SHADER_3D_UNIFORM_COLOR, GPU_vertformat_attr_add(), GRAPH_ICON_VISIBILITY_OFFSET, bAnimChannelType::has_setting, bAnimChannelType::icon, ICON_WIDTH, bAnimListElem::id, immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformColor3ubv(), blender::wm::InvokeDefault, View2D::mask, NA_RENAME, bAnimChannelType::name_prop, NC_ANIMATION, ND_ANIMCHAN, blender::ui::None, bGPDlayer::onion_flag, bAnimListElem::owner, pos, PROP_ENUM, ptr, rect_width(), bAnimContext::region, RENAME_TEXT_MIN_WIDTH, bDopeSheet::renameIndex, RNA_id_pointer_create(), RNA_int_set(), FCurve::rna_path, RNA_path_from_ID_to_property(), RNA_path_resolve_property(), RNA_pointer_create_discrete(), RNA_property_identifier(), RNA_property_type(), RNA_struct_find_property(), round_fl_to_int(), SACTION_SLIDERS, SIPO_SLIDERS, bAnimContext::sl, SLIDER_WIDTH, SPACE_ACTION, SPACE_GRAPH, SPACE_NLA, bAnimContext::spacetype, Text, bAnimListElem::type, UI_block_emboss_set(), UI_but_active_only(), UI_but_func_set(), UI_but_operator_ptr_ensure(), UI_icon_draw(), UI_SCALE_FAC, UI_UNIT_X, uiDefAutoButR(), uiDefButR(), uiDefIconButO(), ARegion::v2d, ARegion::winx, WM_event_add_notifier(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by draw_channel_names(), draw_nla_track_list(), and graph_draw_channel_names().
| const bAnimChannelType * ANIM_channel_get_typeinfo | ( | const bAnimListElem * | ale | ) |
Get type info from given channel type.
Definition at line 4763 of file anim_channels_defines.cc.
References ANIM_init_channel_typeinfo_data(), animchannelTypeInfo, ANIMTYPE_NUM_TYPES, BLI_assert, and bAnimListElem::type.
Referenced by acf_generic_basic_offset(), acf_generic_channel_backdrop(), acf_generic_channel_color(), acf_generic_dataexpand_backdrop(), acf_generic_root_backdrop(), acf_group_backdrop(), acf_nla_controls_backdrop(), acf_nlaaction_backdrop(), acf_summary_backdrop(), achannel_setting_widget_cb(), actkeys_channels_get_selected_extents(), ale_name_matches_dopesheet_filter(), ANIM_channel_debug_print_info(), ANIM_channel_draw(), ANIM_channel_draw_widgets(), ANIM_channel_setting_get(), ANIM_channel_setting_set(), anim_flush_channel_setting_down(), anim_flush_channel_setting_up(), ANIM_flush_setting_anim_channels(), draw_backdrops(), graph_panel_properties(), nla_tracks_get_selected_extents(), rename_anim_channels(), and skip_fcurve_with_name().
| short ANIM_channel_setting_get | ( | bAnimContext * | ac, |
| bAnimListElem * | ale, | ||
| eAnimChannel_Settings | setting ) |
Check if some setting for a channel is enabled Returns: 1 = On, 0 = Off, -1 = Invalid.
Definition at line 4907 of file anim_channels_defines.cc.
References ANIM_channel_get_typeinfo(), flag, bAnimChannelType::has_setting, ptr, bAnimChannelType::setting_flag, and bAnimChannelType::setting_ptr.
Referenced by acf_generic_root_backdrop(), acf_group_backdrop(), acf_nla_controls_backdrop(), acf_summary_color(), achannel_setting_flush_widget_cb(), actkeys_channels_get_selected_extents(), ANIM_channel_draw(), draw_backdrops(), draw_setting_widget(), graphview_curves_reveal_exec(), nla_tracks_get_selected_extents(), screen_ctx_sel_actions_impl(), and setflag_anim_channels().
| void ANIM_channel_setting_set | ( | bAnimContext * | ac, |
| bAnimListElem * | ale, | ||
| eAnimChannel_Settings | setting, | ||
| eAnimChannels_SetFlag | mode ) |
Change value of some setting for a channel.
Definition at line 4989 of file anim_channels_defines.cc.
References ACF_SETTING_SET, ANIM_channel_get_typeinfo(), BLI_assert, bAnimContext::bmain, flag, bAnimChannelType::has_setting, ptr, bAnimChannelType::setting_flag, bAnimChannelType::setting_post_update, and bAnimChannelType::setting_ptr.
Referenced by anim_flush_channel_setting_down(), anim_flush_channel_setting_up(), animchannel_select_range(), box_select_anim_channels(), graphview_curves_hide_exec(), graphview_curves_reveal_exec(), and setflag_anim_channels().
|
static |
Definition at line 4689 of file anim_channels_defines.cc.
References ACF_ACTION_SLOT, ACF_DSARM, ACF_DSCACHEFILE, ACF_DSCAM, ACF_DSCUR, ACF_DSCURVES, ACF_DSGPENCIL, ACF_DSLAT, ACF_DSLIGHT, ACF_DSLIGHTPROBE, ACF_DSLINESTYLE, ACF_DSMAT, ACF_DSMBALL, ACF_DSMCLIP, ACF_DSMESH, ACF_DSNTREE, ACF_DSPART, ACF_DSPOINTCLOUD, ACF_DSSKEY, ACF_DSSPK, ACF_DSTEX, ACF_DSVOLUME, ACF_DSWOR, ACF_FCURVE, ACF_FILLACTD, ACF_FILLANIM, ACF_FILLDRIVERS, ACF_GPD, ACF_GPL, ACF_GPL_LEGACY, ACF_GPLGROUP, ACF_GROUP, ACF_INIT, ACF_MASKDATA, ACF_MASKLAYER, ACF_NLAACTION, ACF_NLACONTROLS, ACF_NLACURVE, ACF_NLATRACK, ACF_OBJECT, ACF_SCENE, ACF_SHAPEKEY, ACF_SUMMARY, animchannelTypeInfo, ANIMTYPE_ACTION_SLOT, ANIMTYPE_FILLACT_LAYERED, and BLI_assert_msg.
Referenced by ANIM_channel_get_typeinfo().
| float ANIM_UI_get_channel_button_width | ( | ) |
Definition at line 5174 of file anim_channels_defines.cc.
References U.
Referenced by ANIM_channel_draw(), and ANIM_channel_draw_widgets().
| float ANIM_UI_get_channel_height | ( | ) |
Definition at line 5144 of file anim_channels_defines.cc.
References ANIM_UI_get_keyframe_scale_factor(), and U.
Referenced by actkeys_channels_get_selected_extents(), actkeys_find_key_in_list_element(), ANIM_UI_get_channel_step(), draw_backdrops(), draw_channel_names(), draw_keyframes(), and graph_draw_channel_names().
| float ANIM_UI_get_channel_name_width | ( | ) |
Definition at line 5169 of file anim_channels_defines.cc.
References U.
Referenced by animchannels_channel_get(), and animchannels_mouseclick_invoke().
| float ANIM_UI_get_channel_skip | ( | ) |
Definition at line 5149 of file anim_channels_defines.cc.
References U.
Referenced by ANIM_UI_get_channel_step(), ANIM_UI_get_first_channel_top(), and draw_channel_action_ranges().
| float ANIM_UI_get_channel_step | ( | ) |
Definition at line 5159 of file anim_channels_defines.cc.
References ANIM_UI_get_channel_height(), and ANIM_UI_get_channel_skip().
Referenced by actkeys_channels_get_selected_extents(), actkeys_find_list_element_at_position(), ANIM_UI_get_channels_total_height(), animchannels_channel_get(), animchannels_mouseclick_invoke(), box_select_action(), box_select_anim_channels(), draw_backdrops(), draw_channel_action_ranges(), draw_channel_names(), draw_keyframes(), graph_draw_channel_names(), and region_select_action_keys().
Definition at line 5164 of file anim_channels_defines.cc.
References ANIM_UI_get_channel_step(), and ANIM_UI_get_first_channel_top().
Referenced by set_v2d_height(), and set_v2d_height().
Definition at line 5154 of file anim_channels_defines.cc.
References ANIM_UI_get_channel_skip(), UI_TIME_SCRUB_MARGIN_Y, and UI_view2d_scale_get_y().
Referenced by actkeys_channels_get_selected_extents(), actkeys_find_list_element_at_position(), ANIM_UI_get_channels_total_height(), animchannels_channel_get(), animchannels_mouseclick_invoke(), box_select_action(), box_select_anim_channels(), draw_backdrops(), draw_channel_action_ranges(), draw_channel_names(), draw_keyframes(), graph_draw_channel_names(), and region_select_action_keys().
| float ANIM_UI_get_keyframe_scale_factor | ( | ) |
Definition at line 5132 of file anim_channels_defines.cc.
References ThemeSpace::keyframe_scale_fac, bTheme::space_action, and UI_GetTheme().
Referenced by ANIM_UI_get_channel_height(), and draw_keyframes().
|
static |
Definition at line 6000 of file anim_channels_defines.cc.
References bAnimListElem::data, blender::ui::Emboss, ICON_WIDTH, bAnimListElem::id, blender::ui::None, ptr, RNA_id_pointer_create(), RNA_path_from_ID_to_property(), RNA_path_resolve_property(), RNA_pointer_create_discrete(), RNA_struct_find_property(), SLIDER_WIDTH, UI_block_emboss_set(), uiDefAutoButR(), and rctf::ymin.
Referenced by ANIM_channel_draw_widgets().
|
static |
Definition at line 5750 of file anim_channels_defines.cc.
References achannel_nlatrack_solo_widget_cb(), ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, achannel_setting_flush_widget_cb(), ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SOLO, ACHANNEL_SETTING_VISIBLE, achannel_setting_widget_cb(), ALE_FCURVE, ALE_NLASTRIP, ANIM_channel_setting_get(), ANIMTYPE_FCURVE, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, BKE_id_is_editable(), BLI_listbase_is_empty(), bAnimContext::bmain, bAnimListElem::datatype, ELEM, enabled, bAnimListElem::fcurve_owner_id, flag, ICON_WIDTH, IconToggle, IconToggleN, bAnimListElem::id, bAnimListElem::key_data, MEM_dupallocN(), FCurve::modifiers, POINTER_FROM_INT, ptr, bAnimChannelType::setting_flag, bAnimChannelType::setting_ptr, SPACE_NLA, bAnimContext::spacetype, TIP_, Toggle, ToggleN, bAnimListElem::type, UI_but_disable(), UI_but_flag_enable(), UI_but_funcN_set(), UI_BUT_INACTIVE, uiDefIconButBitC(), uiDefIconButBitI(), and uiDefIconButBitS().
Referenced by ANIM_channel_draw_widgets().
|
static |
Definition at line 958 of file anim_channels_defines.cc.
References bActionGroup::cs, bActionGroup::customCol, ThemeWireColor::solid, bTheme::tarm, and UI_GetTheme().
Referenced by acf_fcurve_channel_color(), and acf_group_channel_color().
|
static |
Definition at line 4783 of file anim_channels_defines.cc.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ACHANNEL_SETTING_EXPAND, ACHANNEL_SETTING_MOD_OFF, ACHANNEL_SETTING_MUTE, ACHANNEL_SETTING_PINNED, ACHANNEL_SETTING_PROTECT, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_SOLO, and ACHANNEL_SETTING_VISIBLE.
Referenced by ANIM_channel_debug_print_info().
|
static |
Definition at line 1510 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Armature expander type define.
Definition at line 2660 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
CacheFile expander type define..
Definition at line 2036 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Camera expander type define.
Definition at line 2123 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Curve expander type define.
Definition at line 2218 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Curves expander type define.
Definition at line 3183 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Grease-pencil expander type define.
Definition at line 3537 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Lattice expander type define.
Definition at line 3012 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Light expander type define.
Definition at line 1859 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Light Probe expander type define.
Definition at line 3454 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Line Style expander type define.
Definition at line 2837 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Material expander type define.
Definition at line 1772 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Meta-ball expander type define.
Definition at line 2573 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Movie-clip expander type define.
Definition at line 3620 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Mesh expander type define.
Definition at line 2924 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Node tree expander type define.
Definition at line 2754 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Particle expander type define.
Definition at line 2486 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Point-cloud expander type define.
Definition at line 3270 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Shape-key expander type define.
Definition at line 2320 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Speaker expander type define.
Definition at line 3096 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Texture expander type define.
Definition at line 1949 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Volume expander type define.
Definition at line 3357 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
World expander type define.
Definition at line 2403 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
F-Curve type define.
Definition at line 1157 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Object action expander type define.
Definition at line 1602 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Object's Layered Action expander type define.
Definition at line 1404 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Drivers expander type define.
Definition at line 1689 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Definition at line 4091 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Definition at line 4112 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Grease-pencil layer type define.
Definition at line 3871 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Definition at line 4133 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Group type define.
Definition at line 991 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Definition at line 4686 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Mask data-block type define.
Definition at line 4215 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Mask layer type define.
Definition at line 4313 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Definition at line 4660 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
NLA Control F-Curves expander type define.
Definition at line 1275 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
NLA Control F-Curve type define.
Definition at line 1318 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
NLA track type define.
Definition at line 4477 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Object type define.
Definition at line 804 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Scene type define.
Definition at line 624 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Shape-key expander type define.
Definition at line 3737 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
All animation summary (dope-sheet only) type define.
Definition at line 511 of file anim_channels_defines.cc.
Referenced by ANIM_init_channel_typeinfo_data().
|
static |
Definition at line 4685 of file anim_channels_defines.cc.
Referenced by ANIM_channel_get_typeinfo(), and ANIM_init_channel_typeinfo_data().