|
Blender V4.3
|
#include "BLI_utildefines.h"#include "DNA_scene_types.h"#include "DEG_depsgraph.hh"#include "BKE_context.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "SEQ_modifier.hh"#include "SEQ_relations.hh"#include "SEQ_select.hh"#include "SEQ_sequencer.hh"#include "SEQ_sound.hh"#include "sequencer_intern.hh"Go to the source code of this file.
Functions | |
Add modifier operator | |
| static int | strip_modifier_add_exec (bContext *C, wmOperator *op) |
| static const EnumPropertyItem * | filter_modifiers_by_sequence_type_itemf (bContext *C, PointerRNA *, PropertyRNA *, bool *) |
| void | SEQUENCER_OT_strip_modifier_add (wmOperatorType *ot) |
Remove Modifier Operator | |
| static int | strip_modifier_remove_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_strip_modifier_remove (wmOperatorType *ot) |
Redefine Equalizer Graphs Operator | |
| static int | strip_modifier_equalizer_redefine_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_strip_modifier_equalizer_redefine (wmOperatorType *ot) |
Move Operator | |
| enum | { SEQ_MODIFIER_MOVE_UP = 0 , SEQ_MODIFIER_MOVE_DOWN } |
| static int | strip_modifier_move_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_strip_modifier_move (wmOperatorType *ot) |
Copy to Selected Operator | |
| enum | { SEQ_MODIFIER_COPY_REPLACE = 0 , SEQ_MODIFIER_COPY_APPEND = 1 } |
| static int | strip_modifier_copy_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_strip_modifier_copy (wmOperatorType *ot) |
| anonymous enum |
| Enumerator | |
|---|---|
| SEQ_MODIFIER_MOVE_UP | |
| SEQ_MODIFIER_MOVE_DOWN | |
Definition at line 152 of file sequencer_modifier.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| SEQ_MODIFIER_COPY_REPLACE | |
| SEQ_MODIFIER_COPY_APPEND | |
Definition at line 233 of file sequencer_modifier.cc.
|
static |
Definition at line 50 of file sequencer_modifier.cc.
References CTX_data_scene(), ELEM, rna_enum_sequence_modifier_type_items, rna_enum_sequence_sound_modifier_type_items, rna_enum_sequence_video_modifier_type_items, SEQ_select_active_get(), SEQ_TYPE_SOUND_RAM, and Sequence::type.
Referenced by SEQUENCER_OT_strip_modifier_add().
| void SEQUENCER_OT_strip_modifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 69 of file sequencer_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, filter_modifiers_by_sequence_type_itemf(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_NULL_items, sequencer_strip_editable_poll(), wmOperatorType::srna, and strip_modifier_add_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_modifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 294 of file sequencer_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), SEQ_MODIFIER_COPY_APPEND, SEQ_MODIFIER_COPY_REPLACE, sequencer_strip_editable_poll(), wmOperatorType::srna, strip_modifier_copy_exec(), and WM_menu_invoke().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_modifier_equalizer_redefine | ( | wmOperatorType * | ot | ) |
Definition at line 351 of file sequencer_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), RNA_def_string(), sequencer_strip_editable_poll(), wmOperatorType::srna, and strip_modifier_equalizer_redefine_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_modifier_move | ( | wmOperatorType * | ot | ) |
Definition at line 198 of file sequencer_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), RNA_def_string(), SEQ_MODIFIER_MOVE_DOWN, SEQ_MODIFIER_MOVE_UP, sequencer_strip_editable_poll(), wmOperatorType::srna, and strip_modifier_move_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_modifier_remove | ( | wmOperatorType * | ot | ) |
Definition at line 125 of file sequencer_modifier.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, RNA_def_property_flag(), RNA_def_string(), sequencer_strip_editable_poll(), wmOperatorType::srna, and strip_modifier_remove_exec().
Referenced by sequencer_operatortypes().
|
static |
Definition at line 36 of file sequencer_modifier.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SEQ_modifier_new(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_modifier_add().
|
static |
Definition at line 238 of file sequencer_modifier.cc.
References BLI_listbase_clear(), BLI_remlink(), CTX_data_scene(), DEG_id_tag_update(), ELEM, ListBase::first, ID_RECALC_AUDIO, ID_RECALC_SEQUENCER_STRIPS, LISTBASE_FOREACH, Sequence::modifiers, NC_SCENE, ND_SEQUENCER, SequenceModifierData::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SELECT, SEQ_active_seqbase_get(), SEQ_MODIFIER_COPY_REPLACE, SEQ_modifier_free(), SEQ_modifier_list_copy(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), SEQ_TYPE_SOUND_RAM, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_modifier_copy().
|
static |
Definition at line 329 of file sequencer_modifier.cc.
References CTX_data_scene(), MAX_NAME, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_string_get(), SEQ_modifier_find_by_name(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), SEQ_sound_equalizermodifier_set_graphs(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_modifier_equalizer_redefine().
|
static |
Definition at line 157 of file sequencer_modifier.cc.
References BLI_insertlinkafter(), BLI_insertlinkbefore(), BLI_remlink(), CTX_data_scene(), DEG_id_tag_update(), ELEM, ID_RECALC_AUDIO, ID_RECALC_SEQUENCER_STRIPS, MAX_NAME, Sequence::modifiers, NC_SCENE, ND_SEQUENCER, SequenceModifierData::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, SequenceModifierData::prev, wmOperator::ptr, RNA_enum_get(), RNA_string_get(), SEQ_modifier_find_by_name(), SEQ_MODIFIER_MOVE_DOWN, SEQ_MODIFIER_MOVE_UP, SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), SEQ_TYPE_SOUND_RAM, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_modifier_move().
|
static |
Definition at line 97 of file sequencer_modifier.cc.
References BLI_remlink(), CTX_data_scene(), DEG_id_tag_update(), ELEM, ID_RECALC_AUDIO, ID_RECALC_SEQUENCER_STRIPS, MAX_NAME, Sequence::modifiers, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get(), SEQ_modifier_find_by_name(), SEQ_modifier_free(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), SEQ_TYPE_SOUND_RAM, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_modifier_remove().