|
Blender V4.3
|
#include <cfloat>#include <cmath>#include <cstdio>#include <cstring>#include "DNA_anim_types.h"#include "BLI_utildefines.h"#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLT_translation.hh"#include "BKE_context.hh"#include "BKE_fcurve.hh"#include "BKE_nla.hh"#include "BKE_screen.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "ANIM_action.hh"#include "ANIM_action_legacy.hh"#include "ED_anim_api.hh"#include "UI_interface.hh"#include "UI_interface_c.hh"#include "UI_resources.hh"#include "nla_intern.hh"Go to the source code of this file.
Macros | |
| #define | NLA_FMODIFIER_PANEL_PREFIX "NLA" |
| #define NLA_FMODIFIER_PANEL_PREFIX "NLA" |
Definition at line 605 of file nla_buttons.cc.
Referenced by nla_buttons_register(), and nla_fmodifier_panel_id().
Definition at line 225 of file nla_buttons.cc.
References ANIM_nla_context_strip_ptr(), and PointerRNA::data.
Referenced by fmodifier_list_space_specific().
| bool ANIM_nla_context_strip_ptr | ( | const bContext * | C, |
| PointerRNA * | r_ptr ) |
Definition at line 211 of file nla_buttons.cc.
References nla_panel_context().
Referenced by ANIM_nla_context_strip(), and screen_ctx_active_nla_strip().
Definition at line 216 of file nla_buttons.cc.
References ANIM_nla_context_track_ptr(), and PointerRNA::data.
| bool ANIM_nla_context_track_ptr | ( | const bContext * | C, |
| PointerRNA * | r_ptr ) |
Definition at line 206 of file nla_buttons.cc.
References nla_panel_context().
Referenced by ANIM_nla_context_track(), and screen_ctx_active_nla_track().
Definition at line 52 of file nla_buttons.cc.
References NC_OBJECT, NC_SCENE, ND_TRANSFORM, and WM_event_add_notifier().
Referenced by nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), and nla_panel_stripname().
Definition at line 241 of file nla_buttons.cc.
References PointerRNA::data, nla_panel_context(), PointerRNA::owner_id, and ptr.
Referenced by nla_buttons_register().
| void nla_buttons_register | ( | ARegionType * | art | ) |
Definition at line 651 of file nla_buttons.cc.
References ANIM_modifier_panels_register_graph_and_NLA(), BLI_addtail(), BLI_genericNodeN(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::category, PanelType::children, PanelType::draw, PanelType::draw_header, PanelType::flag, PanelType::idname, PanelType::label, N_, nla_animdata_panel_poll(), NLA_FMODIFIER_PANEL_PREFIX, nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), nla_strip_actclip_panel_poll(), nla_strip_eval_panel_poll(), nla_strip_panel_poll(), PANEL_TYPE_DEFAULT_CLOSED, PANEL_TYPE_NO_HEADER, ARegionType::paneltypes, PanelType::parent, PanelType::parent_id, PanelType::poll, STRNCPY, and PanelType::translation_context.
Referenced by ED_spacetype_nla().
|
static |
Definition at line 607 of file nla_buttons.cc.
References BKE_ST_MAXNAME, BLI_snprintf(), get_fmodifier_typeinfo(), FModifierTypeInfo::name, NLA_FMODIFIER_PANEL_PREFIX, and FModifier::type.
Referenced by nla_panel_modifiers().
Definition at line 464 of file nla_buttons.cc.
References NlaStrip::act, blender::animrig::legacy::action_treat_as_legacy(), BLI_assert, PointerRNA::data, do_nla_region_buttons(), IFACE_, Panel::layout, nla_panel_context(), PointerRNA::owner_id, RNA_boolean_get(), RNA_id_pointer_create(), UI_block_func_handle_set(), UI_ITEM_NONE, uiItemO(), uiItemR(), uiLayoutColumn(), uiLayoutGetBlock(), uiLayoutRowWithHeading(), uiLayoutSetActive(), uiLayoutSetContextPointer(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), and uiTemplateSearch().
Referenced by nla_buttons_register().
Definition at line 528 of file nla_buttons.cc.
References col, do_nla_region_buttons(), Panel::layout, nla_panel_context(), UI_block_func_handle_set(), UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), and uiLayoutGetBlock().
Referenced by nla_buttons_register().
Definition at line 586 of file nla_buttons.cc.
References do_nla_region_buttons(), Panel::layout, nla_panel_context(), RNA_boolean_get(), UI_block_func_handle_set(), UI_ITEM_NONE, uiItemR(), uiLayoutGetBlock(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by nla_buttons_register().
Definition at line 567 of file nla_buttons.cc.
References col, do_nla_region_buttons(), Panel::layout, nla_panel_context(), UI_block_func_handle_set(), UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), and uiLayoutGetBlock().
Referenced by nla_buttons_register().
Definition at line 293 of file nla_buttons.cc.
References do_nla_region_buttons(), IFACE_, Panel::layout, nla_panel_context(), PointerRNA::owner_id, RNA_id_pointer_create(), RNA_struct_ui_icon(), PointerRNA::type, UI_block_func_handle_set(), UI_ITEM_NONE, UI_LAYOUT_ALIGN_LEFT, uiItemL(), uiItemR(), uiItemS(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetAlignment(), uiLayoutSetPropDecorate(), uiLayoutSetPropSep(), and uiTemplateID().
Referenced by nla_buttons_register().
| bool nla_panel_context | ( | const bContext * | C, |
| PointerRNA * | adt_ptr, | ||
| PointerRNA * | nlt_ptr, | ||
| PointerRNA * | strip_ptr ) |
Definition at line 65 of file nla_buttons.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_ACTIVE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_ACTION_SLOT, ANIMTYPE_ANIMDATA, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACT_LAYERED, ANIMTYPE_FILLACTD, ANIMTYPE_FILLDRIVERS, ANIMTYPE_GPDATABLOCK, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_DATABLOCK, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, ANIMTYPE_GROUP, ANIMTYPE_MASKDATABLOCK, ANIMTYPE_MASKLAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACONTROLS, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, ANIMTYPE_NONE, ANIMTYPE_NUM_TYPES, ANIMTYPE_OBJECT, ANIMTYPE_PALETTE, ANIMTYPE_SCENE, ANIMTYPE_SHAPEKEY, ANIMTYPE_SPECIALDATA__UNUSED, ANIMTYPE_SUMMARY, BKE_nlastrip_find_active(), bAnimContext::data, bAnimContext::datatype, LISTBASE_FOREACH, and RNA_pointer_create().
Referenced by ANIM_nla_context_strip_ptr(), ANIM_nla_context_track_ptr(), nla_action_unlink_exec(), nla_action_unlink_poll(), nla_animdata_panel_poll(), nla_panel_actclip(), nla_panel_animated_influence_header(), nla_panel_animated_strip_time(), nla_panel_animated_strip_time_header(), nla_panel_animdata(), nla_panel_evaluation(), nla_panel_modifiers(), nla_panel_properties(), nla_panel_stripname(), nla_strip_actclip_panel_poll(), nla_strip_eval_panel_poll(), nla_strip_panel_poll(), and nlatracks_pushdown_exec().
Definition at line 548 of file nla_buttons.cc.
References do_nla_region_buttons(), Panel::layout, nla_panel_context(), RNA_boolean_get(), UI_block_func_handle_set(), UI_ITEM_NONE, uiItemR(), uiLayoutGetBlock(), uiLayoutSetEnabled(), and uiLayoutSetPropSep().
Referenced by nla_buttons_register().
Definition at line 616 of file nla_buttons.cc.
References ANIM_fmodifier_panels(), PointerRNA::data, do_nla_region_buttons(), IFACE_, Panel::layout, NlaStrip::modifiers, nla_fmodifier_panel_id(), nla_panel_context(), PointerRNA::owner_id, UI_block_func_handle_set(), uiItemMenuEnumO(), uiItemO(), uiLayoutGetBlock(), and uiLayoutRow().
Referenced by nla_buttons_register().
Definition at line 395 of file nla_buttons.cc.
References do_nla_region_buttons(), IFACE_, Panel::layout, nla_panel_context(), NLASTRIP_TYPE_SOUND, RNA_boolean_get(), RNA_enum_get(), UI_block_func_handle_set(), UI_ITEM_NONE, uiItemR(), uiItemS(), uiLayoutColumn(), uiLayoutColumnWithHeading(), uiLayoutGetBlock(), uiLayoutRow(), uiLayoutSetActive(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by nla_buttons_register().
Definition at line 357 of file nla_buttons.cc.
References do_nla_region_buttons(), Panel::layout, nla_panel_context(), NLASTRIP_TYPE_CLIP, NLASTRIP_TYPE_META, NLASTRIP_TYPE_SOUND, NLASTRIP_TYPE_TRANSITION, RNA_enum_get(), UI_block_emboss_set(), UI_block_func_handle_set(), UI_EMBOSS, UI_EMBOSS_NONE_OR_STATUS, UI_ITEM_NONE, uiItemL(), uiItemR(), uiLayoutGetBlock(), and uiLayoutRow().
Referenced by nla_buttons_register().
Definition at line 255 of file nla_buttons.cc.
References PointerRNA::data, nla_panel_context(), NLASTRIP_TYPE_CLIP, ptr, and NlaStrip::type.
Referenced by nla_buttons_register().
Definition at line 270 of file nla_buttons.cc.
References PointerRNA::data, nla_panel_context(), NLASTRIP_TYPE_SOUND, ptr, and NlaStrip::type.
Referenced by nla_buttons_register().
Definition at line 249 of file nla_buttons.cc.
References PointerRNA::data, nla_panel_context(), and ptr.
Referenced by nla_buttons_register().