|
Blender V4.3
|
#include <cmath>#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_blenlib.h"#include "BLI_ghash.h"#include "BLI_math_geom.h"#include "BLI_math_vector.h"#include "BLI_math_vector_types.hh"#include "BLI_utildefines.h"#include "DNA_scene_types.h"#include "DNA_space_types.h"#include "BKE_context.hh"#include "BKE_report.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_define.hh"#include "SEQ_channels.hh"#include "SEQ_connect.hh"#include "SEQ_effects.hh"#include "SEQ_iterator.hh"#include "SEQ_relations.hh"#include "SEQ_retiming.hh"#include "SEQ_select.hh"#include "SEQ_sequencer.hh"#include "SEQ_time.hh"#include "SEQ_transform.hh"#include "ED_outliner.hh"#include "ED_screen.hh"#include "ED_select_utils.hh"#include "ED_sequencer.hh"#include "UI_view2d.hh"#include "sequencer_intern.hh"Go to the source code of this file.
Classes | |
| class | MouseCoords |
| struct | SeqSelect_Link |
Select Handles Operator | |
| enum | { SEQ_SELECT_HANDLES_SIDE_LEFT , SEQ_SELECT_HANDLES_SIDE_RIGHT , SEQ_SELECT_HANDLES_SIDE_BOTH , SEQ_SELECT_HANDLES_SIDE_LEFT_NEIGHBOR , SEQ_SELECT_HANDLES_SIDE_RIGHT_NEIGHBOR , SEQ_SELECT_HANDLES_SIDE_BOTH_NEIGHBORS } |
| static const EnumPropertyItem | prop_select_handles_side_types [] |
| static int | sequencer_select_handles_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_select_handles (wmOperatorType *ot) |
Definition at line 2292 of file sequencer_select.cc.
Referenced by select_grouped_data(), select_grouped_effect(), select_grouped_type(), select_grouped_type_basic(), and select_grouped_type_effect().
| #define SEQ_IS_EFFECT | ( | _seq | ) | ((_seq->type & SEQ_TYPE_EFFECT) != 0) |
Definition at line 2287 of file sequencer_select.cc.
Referenced by select_grouped_type_effect().
| #define SEQ_IS_SOUND | ( | _seq | ) | ((_seq->type & SEQ_TYPE_SOUND_RAM) && !(_seq->type & SEQ_TYPE_EFFECT)) |
Definition at line 2285 of file sequencer_select.cc.
Referenced by select_grouped_type_basic().
| #define SEQ_USE_DATA | ( | _seq | ) | (ELEM(_seq->type, SEQ_TYPE_SCENE, SEQ_TYPE_MOVIECLIP, SEQ_TYPE_MASK) || SEQ_HAS_PATH(_seq)) |
Definition at line 2289 of file sequencer_select.cc.
Referenced by select_grouped_data().
| anonymous enum |
Definition at line 1753 of file sequencer_select.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| SEQ_SELECT_GROUP_TYPE | |
| SEQ_SELECT_GROUP_TYPE_BASIC | |
| SEQ_SELECT_GROUP_TYPE_EFFECT | |
| SEQ_SELECT_GROUP_DATA | |
| SEQ_SELECT_GROUP_EFFECT | |
| SEQ_SELECT_GROUP_EFFECT_LINK | |
| SEQ_SELECT_GROUP_OVERLAP | |
Definition at line 2250 of file sequencer_select.cc.
| blender::VectorSet< Sequence * > all_strips_from_context | ( | bContext * | C | ) |
Returns collection with all strips presented to user. If operation is done in preview, collection is limited to all presented strips that can produce image output.
| C | context |
Sequence) Definition at line 73 of file sequencer_select.cc.
References CTX_data_scene(), SEQ_active_seqbase_get(), SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_query_all_strips(), SEQ_query_rendered_strips(), and sequencer_view_has_preview_poll().
Referenced by sequencer_de_select_all_exec(), sequencer_retiming_select_all_exec(), sequencer_select_grouped_exec(), and sequencer_select_inverse_exec().
|
static |
Definition at line 964 of file sequencer_select.cc.
References min_ff(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), and UI_view2d_scale_get_x().
Referenced by strip_clickable_areas_get().
| bool ED_sequencer_can_select_handle | ( | const Scene * | scene, |
| const Sequence * | seq, | ||
| const View2D * | v2d ) |
Definition at line 972 of file sequencer_select.cc.
References SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_effect_get_num_inputs(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_transform_is_locked(), Sequence::type, UI_view2d_scale_get_x(), and USER_SEQ_ED_SIMPLE_TWEAKING.
Referenced by get_strip_handle_under_cursor(), sequencer_main_cursor(), and strip_data_handle_flags_set().
| bool ED_sequencer_handle_is_selected | ( | const Sequence * | seq, |
| eSeqHandle | handle ) |
Definition at line 847 of file sequencer_select.cc.
References Sequence::flag, SEQ_HANDLE_LEFT, SEQ_HANDLE_RIGHT, SEQ_LEFTSEL, and SEQ_RIGHTSEL.
Referenced by draw_handle_transform_text(), element_already_selected(), and strip_data_handle_flags_set().
| StripSelection ED_sequencer_pick_strip_and_handle | ( | const Scene * | scene, |
| const View2D * | v2d, | ||
| float | mouse_co[2] ) |
Definition at line 1128 of file sequencer_select.cc.
References get_strip_handle_under_cursor(), is_mouse_over_both_handles_of_adjacent_strips(), mouseover_strips_sorted_get(), selection, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and USER_SEQ_ED_SIMPLE_TWEAKING.
Referenced by sequencer_box_select_invoke(), sequencer_select_exec(), and sequencer_select_handle_exec().
Definition at line 243 of file sequencer_select.cc.
References Editing::act_imagedir, Editing::act_sounddir, BLI_strncpy(), Strip::dirpath, ED_sequencer_deselect_all(), ELEM, FILE_MAXDIR, Sequence::flag, recurs_sel_seq(), SELECT, SEQ_editing_get(), SEQ_select_active_set(), SEQ_TYPE_IMAGE, SEQ_TYPE_MOVIE, SEQ_TYPE_SOUND_RAM, Sequence::strip, and Sequence::type.
Referenced by blender::ed::outliner::sequence_fn().
| blender::VectorSet< Sequence * > ED_sequencer_selected_strips_from_context | ( | bContext * | C | ) |
Returns collection with selected strips presented to user. If operation is done in preview, collection is limited to selected presented strips, that can produce image output at current frame.
| C | context |
Sequence) Definition at line 88 of file sequencer_select.cc.
References CTX_data_scene(), Sequence::flag, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), SELECT, SEQ_active_seqbase_get(), SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_query_rendered_strips(), SEQ_query_selected_strips(), and sequencer_view_has_preview_poll().
Referenced by freeze_frame_add_from_strip_selection(), sequencer_delete_exec(), sequencer_retiming_key_add_exec(), sequencer_view_selected_exec(), strip_speed_get(), strip_speed_set_exec(), and transform_seq_slide_cursor_get().
|
static |
Definition at line 853 of file sequencer_select.cc.
References ED_sequencer_handle_is_selected(), Sequence::flag, SELECT, Sequence::seq1, SEQ_HANDLE_NONE, SEQ_LEFTSEL, and SEQ_RIGHTSEL.
Referenced by sequencer_select_exec(), and sequencer_select_handle_exec().
| Sequence * find_nearest_seq | ( | const Scene * | scene, |
| const View2D * | v2d, | ||
| const int | mval[2], | ||
| eSeqHandle * | r_hand ) |
Definition at line 312 of file sequencer_select.cc.
References abs(), BLI_rctf_size_x(), BLI_rcti_size_x(), CLAMP, View2D::cur, ListBase::first, float, Sequence::machine, View2D::mask, Sequence::next, SEQ_editing_get(), SEQ_HANDLE_LEFT, SEQ_HANDLE_NONE, SEQ_HANDLE_RIGHT, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_transform_sequence_can_be_translated(), Editing::seqbasep, sequence_handle_size_get_clamped(), UI_view2d_region_to_view(), x, and y.
Referenced by ED_sequencer_special_preview_set(), sequencer_select_linked_pick_invoke(), and update_overlay_strip_position_data().
Definition at line 275 of file sequencer_select.cc.
References Sequence::flag, LISTBASE_FOREACH, Sequence::machine, SELECT, SEQ_editing_get(), SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), and Editing::seqbasep.
Referenced by select_linked_internal(), select_more_less_seq__internal(), select_surrounding_handles(), sequencer_select_handles_exec(), and sequencer_select_linked_handle().
|
static |
Definition at line 1083 of file sequencer_select.cc.
References BLI_rctf_isect_pt_v(), ED_sequencer_can_select_handle(), left, SEQ_HANDLE_LEFT, SEQ_HANDLE_NONE, SEQ_HANDLE_RIGHT, and strip_clickable_areas_get().
Referenced by ED_sequencer_pick_strip_and_handle(), and is_mouse_over_both_handles_of_adjacent_strips().
|
static |
Definition at line 1104 of file sequencer_select.cc.
References get_strip_handle_under_cursor(), SEQ_HANDLE_LEFT, SEQ_HANDLE_NONE, SEQ_HANDLE_RIGHT, and strips_are_adjacent().
Referenced by ED_sequencer_pick_strip_and_handle().
|
static |
Definition at line 1037 of file sequencer_select.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert, BLI_rctf_isect_pt_v(), View2D::cur, LISTBASE_FOREACH, Sequence::machine, SEQ_editing_get(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), Editing::seqbasep, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), strip_clickable_area_get(), strip_to_frame_distance(), rctf::xmax, and rctf::xmin.
Referenced by ED_sequencer_pick_strip_and_handle().
|
static |
Definition at line 2459 of file sequencer_select.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), LISTBASE_FOREACH, Sequence::machine, SEQ_time_left_handle_frame_get(), and SEQ_time_right_handle_frame_get().
Referenced by select_grouped_effect_link().
| void recurs_sel_seq | ( | Sequence * | seq_meta | ) |
Definition at line 416 of file sequencer_select.cc.
References ListBase::first, Sequence::flag, Sequence::next, recurs_sel_seq(), SELECT, SEQ_LEFTSEL, SEQ_RIGHTSEL, and Sequence::seqbase.
Referenced by ED_sequencer_select_sequence_single(), recurs_sel_seq(), select_linked_internal(), select_linked_time_seq(), select_more_less_seq__internal(), select_surrounding_handles(), sequencer_select_handles_exec(), sequencer_select_linked_handle(), sequencer_select_linked_pick_invoke(), sequencer_select_set_active(), sequencer_select_side_of_frame(), and sequencer_select_side_of_frame_exec().
|
static |
Definition at line 133 of file sequencer_select.cc.
References LISTBASE_FOREACH, SELECT, SEQ_LEFTSEL, SEQ_RIGHTSEL, SEQ_SIDE_BOTH, SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, and SEQ_time_left_handle_frame_get().
Referenced by sequencer_select_linked_handle().
|
static |
Definition at line 162 of file sequencer_select.cc.
References LISTBASE_FOREACH, SELECT, SEQ_LEFTSEL, SEQ_MAX_CHANNELS, SEQ_RIGHTSEL, SEQ_SIDE_BOTH, SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, and SEQ_time_left_handle_frame_get().
Referenced by sequencer_select_side_exec().
|
static |
Definition at line 2348 of file sequencer_select.cc.
References Sequence::clip, Strip::dirpath, Sequence::flag, mask(), Sequence::mask, Sequence::scene, SELECT, SEQ_CHANNEL_CHECK, SEQ_HAS_PATH, SEQ_TYPE_MASK, SEQ_TYPE_MOVIECLIP, SEQ_TYPE_SCENE, SEQ_USE_DATA, STREQ, Sequence::strip, and Sequence::type.
Referenced by sequencer_select_grouped_exec().
|
static |
Definition at line 2402 of file sequencer_select.cc.
References Sequence::flag, SELECT, Sequence::seq1, Sequence::seq2, SEQ_CHANNEL_CHECK, SEQ_relation_is_effect_of_strip(), SEQ_TYPE_EFFECT, SEQ_TYPE_MAX, and Sequence::type.
Referenced by sequencer_select_grouped_exec().
|
static |
Definition at line 2481 of file sequencer_select.cc.
References Sequence::flag, query_lower_channel_strips(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), SELECT, SEQ_iterator_set_expand(), SEQ_query_strip_effect_chain(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by sequencer_select_grouped_exec().
|
static |
Definition at line 2437 of file sequencer_select.cc.
References Sequence::flag, SELECT, SEQ_time_left_handle_frame_get(), and SEQ_time_right_handle_frame_get().
Referenced by sequencer_select_grouped_exec().
|
static |
Definition at line 2294 of file sequencer_select.cc.
References Sequence::flag, SELECT, SEQ_CHANNEL_CHECK, and Sequence::type.
Referenced by sequencer_select_grouped_exec().
|
static |
Definition at line 2311 of file sequencer_select.cc.
References Sequence::flag, is_sound(), SELECT, SEQ_CHANNEL_CHECK, and SEQ_IS_SOUND.
Referenced by sequencer_select_grouped_exec().
|
static |
Definition at line 2329 of file sequencer_select.cc.
References Sequence::flag, SELECT, SEQ_CHANNEL_CHECK, and SEQ_IS_EFFECT.
Referenced by sequencer_select_grouped_exec().
|
static |
Definition at line 1501 of file sequencer_select.cc.
References find_neighboring_sequence(), Sequence::flag, LISTBASE_FOREACH, recurs_sel_seq(), SELECT, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_SIDE_LEFT, and SEQ_SIDE_RIGHT.
Referenced by sequencer_select_linked_exec(), and sequencer_select_linked_pick_invoke().
|
static |
Definition at line 944 of file sequencer_select.cc.
References select_linked_time_seq(), SEQ_editing_get(), SEQ_HANDLE_LEFT, SEQ_HANDLE_RIGHT, and sequencer_select_strip_impl().
Referenced by sequencer_select_exec().
|
static |
Definition at line 197 of file sequencer_select.cc.
References Sequence::flag, LISTBASE_FOREACH, Sequence::machine, recurs_sel_seq(), SELECT, SEQ_active_seqbase_get(), SEQ_ALLSEL, SEQ_HANDLE_LEFT, SEQ_HANDLE_RIGHT, SEQ_LEFTSEL, SEQ_RIGHTSEL, SEQ_time_left_handle_frame_get(), and SEQ_time_right_handle_frame_get().
Referenced by select_linked_time().
|
static |
Definition at line 1534 of file sequencer_select.cc.
References BLI_ghashutil_ptrcmp(), BLI_ghashutil_ptrhash(), BLI_gset_add(), BLI_gset_free(), BLI_gset_new(), BLI_gsetIterator_done(), BLI_gsetIterator_getKey(), BLI_gsetIterator_init(), BLI_gsetIterator_step(), find_neighboring_sequence(), Sequence::flag, LISTBASE_FOREACH, recurs_sel_seq(), SELECT, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_SIDE_LEFT, and SEQ_SIDE_RIGHT.
Referenced by sequencer_select_less_exec(), and sequencer_select_more_exec().
Definition at line 107 of file sequencer_select.cc.
References find_neighboring_sequence(), Sequence::flag, recurs_sel_seq(), SELECT, SEQ_LEFTSEL, SEQ_RIGHTSEL, SEQ_SIDE_LEFT, and SEQ_SIDE_RIGHT.
Referenced by sequencer_select_linked_handle().
|
static |
Definition at line 2014 of file sequencer_select.cc.
References isect_point_quad_v2(), SEQ_image_transform_final_quad_get(), seq_point_image_isect(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by seq_box_select_seq_from_preview().
|
static |
Definition at line 2039 of file sequencer_select.cc.
References BLI_assert, SpaceSeq::chanshown, CTX_data_scene(), CTX_wm_space_seq(), ELEM, Sequence::flag, SEL_OP_ADD, SEL_OP_SET, SEL_OP_SUB, SELECT, SEQ_active_seqbase_get(), seq_box_select_rect_image_isect(), SEQ_channels_displayed_get(), SEQ_editing_get(), and SEQ_query_rendered_strips().
Referenced by sequencer_box_select_exec().
|
static |
Definition at line 441 of file sequencer_select.cc.
References isect_point_quad_v2(), and SEQ_image_transform_final_quad_get().
Referenced by seq_box_select_rect_image_isect(), and seq_select_seq_from_preview().
Definition at line 267 of file sequencer_select.cc.
References Sequence::machine, SEQ_STRIP_OFSBOTTOM, SEQ_STRIP_OFSTOP, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by sequencer_box_select_exec(), and strip_clickable_areas_get().
|
static |
Check if click happened on image which belongs to strip. If multiple strips are found, loop through them in order (depth (top-most first) or closest to mouse when center is true).
Definition at line 755 of file sequencer_select.cc.
References BLI_addtail(), BLI_freelistN(), BLI_listbase_sort(), SeqSelect_Link::center_dist_sq, SpaceSeq::chanshown, CTX_data_scene(), CTX_wm_space_seq(), ListBase::first, Sequence::flag, len_squared_v2(), mul_v2_v2(), SeqSelect_Link::next, SELECT, SeqSelect_Link::seq, SEQ_active_seqbase_get(), SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_image_transform_origin_offset_pixelspace_get(), seq_point_image_isect(), SEQ_query_rendered_strips(), SEQ_select_active_get(), seq_sort_for_center_select(), seq_sort_for_depth_select(), sqrtf, square_f(), sub_v2_v2(), UI_view2d_fromcontext(), UI_view2d_region_to_view(), UI_view2d_scale_get_x(), UI_view2d_scale_get_y(), and WM_cursor_test_motion_and_update().
Referenced by sequencer_select_exec().
|
static |
Definition at line 735 of file sequencer_select.cc.
References b, SeqSelect_Link::center_dist_sq, and seq_sort_for_depth_select().
Referenced by seq_select_seq_from_preview().
|
static |
Definition at line 720 of file sequencer_select.cc.
References b, Sequence::machine, and SeqSelect_Link::seq.
Referenced by seq_select_seq_from_preview(), and seq_sort_for_center_select().
|
static |
Definition at line 2066 of file sequencer_select.cc.
References BLI_rctf_isect(), BLI_rctf_size_x(), BLI_rcti_size_x(), CTX_data_scene(), CTX_wm_region(), CTX_wm_space_seq(), View2D::cur, ED_sequencer_deselect_all(), Sequence::flag, LISTBASE_FOREACH, View2D::mask, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, retiming_keys_can_be_displayed(), RGN_TYPE_PREVIEW, RNA_boolean_get(), RNA_enum_get(), SEL_OP_SUB, SEL_OP_USE_PRE_DESELECT, SELECT, select(), selection, seq_box_select_seq_from_preview(), SEQ_editing_get(), SEQ_LEFTSEL, seq_rectf(), SEQ_RIGHTSEL, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), Editing::seqbasep, sequence_handle_size_get_clamped(), sequencer_retiming_box_select_exec(), sequencer_retiming_mode_is_active(), sequencer_select_connected_strips(), sequencer_select_do_updates(), sequencer_view_preview_only_poll(), SET_FLAG_FROM_TEST, UI_view2d_fromcontext(), UI_view2d_region_to_view_rctf(), WM_operator_properties_border_to_rctf(), rctf::xmax, and rctf::xmin.
Referenced by SEQUENCER_OT_select_box().
|
static |
Definition at line 2172 of file sequencer_select.cc.
References CTX_data_scene(), CTX_wm_region(), ED_sequencer_pick_strip_and_handle(), OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RGN_TYPE_PREVIEW, RNA_boolean_get(), sequencer_view_preview_only_poll(), UI_view2d_fromcontext(), UI_view2d_region_to_view(), WM_event_drag_start_mval(), and WM_gesture_box_invoke().
Referenced by SEQUENCER_OT_select_box().
|
static |
Definition at line 461 of file sequencer_select.cc.
References all_strips_from_context(), CTX_data_scene(), CTX_wm_space_seq(), ED_outliner_select_sync_from_sequence_tag(), Sequence::flag, NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, retiming_keys_can_be_displayed(), RNA_enum_get(), SEL_DESELECT, SEL_INVERT, SEL_SELECT, SEL_TOGGLE, SELECT, SEQ_ALLSEL, SEQ_LEFTSEL, SEQ_RIGHTSEL, sequencer_retiming_mode_is_active(), sequencer_retiming_select_all_exec(), sequencer_view_has_preview_poll(), sequencer_view_preview_only_poll(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_all().
| void SEQUENCER_OT_select | ( | wmOperatorType * | ot | ) |
Definition at line 1326 of file sequencer_select.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), ED_select_pick_get_name(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_select_exec(), sequencer_select_invoke(), wmOperatorType::srna, WM_generic_select_modal(), WM_operator_properties_generic_select(), and WM_operator_properties_mouse_select().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 513 of file sequencer_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_de_select_all_exec(), sequencer_edit_poll(), and WM_operator_properties_select_all().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 2200 of file sequencer_select.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_box_select_exec(), sequencer_box_select_invoke(), wmOperatorType::srna, WM_gesture_box_cancel(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_grouped | ( | wmOperatorType * | ot | ) |
Definition at line 2577 of file sequencer_select.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_boolean(), RNA_def_enum(), sequencer_edit_poll(), sequencer_prop_select_grouped_types, sequencer_select_grouped_exec(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_handle | ( | wmOperatorType * | ot | ) |
Definition at line 1466 of file sequencer_select.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_select_handle_exec(), sequencer_select_handle_invoke(), wmOperatorType::srna, and WM_operator_properties_generic_select().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_handles | ( | wmOperatorType * | ot | ) |
Definition at line 1840 of file sequencer_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_select_handles_side_types, RNA_def_enum(), SEQ_SELECT_HANDLES_SIDE_BOTH, sequencer_edit_poll(), sequencer_select_handles_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_inverse | ( | wmOperatorType * | ot | ) |
Definition at line 562 of file sequencer_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_select_inverse_exec().
| void SEQUENCER_OT_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 1632 of file sequencer_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_select_less_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 1732 of file sequencer_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_select_linked_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_linked_pick | ( | wmOperatorType * | ot | ) |
Definition at line 1689 of file sequencer_select.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_select_linked_pick_invoke(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 1596 of file sequencer_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_select_more_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_side | ( | wmOperatorType * | ot | ) |
Definition at line 1985 of file sequencer_select.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_side_types, RNA_def_enum(), SEQ_SIDE_BOTH, sequencer_edit_poll(), sequencer_select_side_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_side_of_frame | ( | wmOperatorType * | ot | ) |
Definition at line 1910 of file sequencer_select.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), sequencer_select_side_of_frame_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
|
static |
Definition at line 874 of file sequencer_select.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), SEQ_ALLSEL, and SEQ_get_connected_strips().
Referenced by sequencer_box_select_exec(), sequencer_select_exec(), and sequencer_select_handle_exec().
Definition at line 449 of file sequencer_select.cc.
References ED_outliner_select_sync_from_sequence_tag(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, and WM_event_add_notifier().
Referenced by sequencer_box_select_exec(), sequencer_select_exec(), and sequencer_select_handle_exec().
| int sequencer_select_exec | ( | bContext * | C, |
| wmOperator * | op ) |
Definition at line 1152 of file sequencer_select.cc.
References CTX_data_scene(), CTX_wm_region(), CTX_wm_space_seq(), ED_sequencer_deselect_all(), ED_sequencer_pick_strip_and_handle(), element_already_selected(), SpaceSeq::flag, left_fake_key_frame_get(), SpaceSeq::mainb, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, realize_fake_keys(), MouseCoords::region, retiming_keys_can_be_displayed(), retiming_mouseover_key_get(), RGN_TYPE_PREVIEW, right_fake_key_frame_get(), RNA_boolean_get(), RNA_int_get(), select_linked_time(), selection, SEQ_DRAW_IMG_IMBUF, SEQ_editing_get(), SEQ_get_connected_strips(), SEQ_HANDLE_LEFT, SEQ_HANDLE_NONE, SEQ_HANDLE_RIGHT, SEQ_is_strip_connected(), SEQ_retiming_data_is_editable(), SEQ_retiming_key_timeline_frame_get(), SEQ_retiming_selection_clear(), seq_select_seq_from_preview(), sequencer_retiming_key_select_exec(), sequencer_retiming_mode_is_active(), sequencer_select_connected_strips(), sequencer_select_do_updates(), sequencer_select_linked_handle(), sequencer_select_set_active(), sequencer_select_side_of_frame(), sequencer_select_strip_impl(), sequencer_view_preview_only_poll(), SPACE_SEQ_DESELECT_STRIP_HANDLE, try_to_realize_fake_keys(), UI_view2d_fromcontext(), MouseCoords::view, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select().
|
static |
Definition at line 2510 of file sequencer_select.cc.
References all_strips_from_context(), BKE_report(), BLI_assert, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), Sequence::flag, LISTBASE_FOREACH, Sequence::machine, NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RPT_ERROR, select_grouped_data(), select_grouped_effect(), select_grouped_effect_link(), select_grouped_time_overlap(), select_grouped_type(), select_grouped_type_basic(), select_grouped_type_effect(), SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_select_active_get(), SEQ_SELECT_GROUP_DATA, SEQ_SELECT_GROUP_EFFECT, SEQ_SELECT_GROUP_EFFECT_LINK, SEQ_SELECT_GROUP_OVERLAP, SEQ_SELECT_GROUP_TYPE, SEQ_SELECT_GROUP_TYPE_BASIC, SEQ_SELECT_GROUP_TYPE_EFFECT, sequencer_view_has_preview_poll(), sequencer_view_preview_only_poll(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_grouped().
|
static |
Definition at line 1395 of file sequencer_select.cc.
References CTX_data_scene(), CTX_wm_space_seq(), ED_sequencer_deselect_all(), ED_sequencer_pick_strip_and_handle(), element_already_selected(), SpaceSeq::flag, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, MouseCoords::region, retiming_mouseover_key_get(), RNA_boolean_get(), RNA_int_get(), SEQ_editing_get(), SEQ_HANDLE_LEFT, SEQ_HANDLE_NONE, SEQ_HANDLE_RIGHT, SEQ_retiming_selection_clear(), sequencer_select_connected_strips(), sequencer_select_do_updates(), sequencer_select_set_active(), sequencer_select_strip_impl(), SPACE_SEQ_DESELECT_STRIP_HANDLE, UI_view2d_fromcontext(), USER_SEQ_ED_SIMPLE_TWEAKING, and MouseCoords::view.
Referenced by SEQUENCER_OT_select_handle(), and sequencer_select_handle_invoke().
|
static |
Definition at line 1453 of file sequencer_select.cc.
References CTX_wm_region(), wmOperator::ptr, RNA_int_set(), sequencer_select_handle_exec(), and WM_event_drag_start_mval().
Referenced by SEQUENCER_OT_select_handle().
|
static |
Definition at line 1772 of file sequencer_select.cc.
References CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), find_neighboring_sequence(), Sequence::flag, LISTBASE_FOREACH, NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, recurs_sel_seq(), RNA_enum_get(), SELECT, SEQ_editing_get(), SEQ_LEFTSEL, SEQ_RIGHTSEL, SEQ_SELECT_HANDLES_SIDE_BOTH, SEQ_SELECT_HANDLES_SIDE_BOTH_NEIGHBORS, SEQ_SELECT_HANDLES_SIDE_LEFT, SEQ_SELECT_HANDLES_SIDE_LEFT_NEIGHBOR, SEQ_SELECT_HANDLES_SIDE_RIGHT, SEQ_SELECT_HANDLES_SIDE_RIGHT_NEIGHBOR, SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_handles().
|
static |
Definition at line 536 of file sequencer_select.cc.
References all_strips_from_context(), CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), Sequence::flag, NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, SELECT, SEQ_LEFTSEL, SEQ_RIGHTSEL, sequencer_view_has_preview_poll(), sequencer_view_preview_only_poll(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_inverse().
|
static |
Definition at line 1316 of file sequencer_select.cc.
References CTX_wm_region(), RGN_TYPE_PREVIEW, WM_generic_select_invoke(), and WM_operator_flag_only_pass_through_on_press().
Referenced by SEQUENCER_OT_select().
|
static |
Definition at line 1617 of file sequencer_select.cc.
References CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, select_more_less_seq__internal(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_less().
|
static |
Definition at line 1715 of file sequencer_select.cc.
References CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, select_linked_internal(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_linked().
|
static |
Definition at line 640 of file sequencer_select.cc.
References CTX_data_scene(), ELEM, find_neighboring_sequence(), Sequence::flag, Sequence::machine, recurs_sel_seq(), SELECT, select_active_side(), select_surrounding_handles(), SEQ_ALLSEL, SEQ_editing_get(), SEQ_HANDLE_LEFT, SEQ_HANDLE_RIGHT, SEQ_LEFTSEL, SEQ_RIGHTSEL, SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, SEQ_time_left_handle_frame_get(), and Editing::seqbasep.
Referenced by sequencer_select_exec().
|
static |
Definition at line 1653 of file sequencer_select.cc.
References CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), ED_sequencer_deselect_all(), find_nearest_seq(), Sequence::flag, wmEvent::mval, NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, recurs_sel_seq(), RNA_boolean_get(), SELECT, select_linked_internal(), UI_view2d_fromcontext(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_linked_pick().
|
static |
Definition at line 1581 of file sequencer_select.cc.
References CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, select_more_less_seq__internal(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_more().
Definition at line 583 of file sequencer_select.cc.
References Editing::act_imagedir, Editing::act_sounddir, BLI_strncpy(), Strip::dirpath, ELEM, FILE_MAXDIR, recurs_sel_seq(), SEQ_editing_get(), SEQ_select_active_set(), SEQ_TYPE_IMAGE, SEQ_TYPE_MOVIE, SEQ_TYPE_SOUND_RAM, Sequence::strip, and Sequence::type.
Referenced by sequencer_select_exec(), and sequencer_select_handle_exec().
|
static |
Definition at line 1944 of file sequencer_select.cc.
References ARRAY_SIZE, copy_vn_i(), CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), Sequence::flag, LISTBASE_FOREACH, Sequence::machine, max_ii(), min_ii(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SELECT, select_active_side_range(), SEQ_editing_get(), SEQ_MAX_CHANNELS, SEQ_SIDE_LEFT, SEQ_time_left_handle_frame_get(), Editing::seqbasep, UNLIKELY, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_side().
|
static |
Definition at line 602 of file sequencer_select.cc.
References CTX_wm_space_seq(), SpaceSeq::flag, LISTBASE_FOREACH, recurs_sel_seq(), SELECT, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_MARKER_TRANS, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), UI_view2d_region_to_view_x(), and x.
Referenced by sequencer_select_exec().
|
static |
Definition at line 1869 of file sequencer_select.cc.
References CTX_data_scene(), ED_outliner_select_sync_from_sequence_tag(), ED_sequencer_deselect_all(), Sequence::flag, LISTBASE_FOREACH, NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, recurs_sel_seq(), RNA_boolean_get(), RNA_enum_get(), SELECT, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_time_strip_intersects_frame(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_side_of_frame().
|
static |
Definition at line 892 of file sequencer_select.cc.
References Editing::act_seq, Sequence::flag, SELECT, SEQ_HANDLE_LEFT, SEQ_HANDLE_NONE, SEQ_HANDLE_RIGHT, SEQ_LEFTSEL, and SEQ_RIGHTSEL.
Referenced by select_linked_time(), sequencer_select_exec(), and sequencer_select_handle_exec().
|
static |
Definition at line 1017 of file sequencer_select.cc.
References BLI_rctf_union(), left, and strip_clickable_areas_get().
Referenced by mouseover_strips_sorted_get().
|
static |
Definition at line 998 of file sequencer_select.cc.
References BLI_rctf_pad(), clickable_handle_size_get(), seq_rectf(), rctf::xmax, and rctf::xmin.
Referenced by get_strip_handle_under_cursor(), strip_clickable_area_get(), and strip_to_frame_distance().
|
static |
Definition at line 1026 of file sequencer_select.cc.
References BLI_rctf_length_x(), left, and strip_clickable_areas_get().
Referenced by mouseover_strips_sorted_get().
|
static |
Definition at line 1073 of file sequencer_select.cc.
References SEQ_time_left_handle_frame_get(), and SEQ_time_right_handle_frame_get().
Referenced by is_mouse_over_both_handles_of_adjacent_strips().
|
static |
Definition at line 1762 of file sequencer_select.cc.
Referenced by SEQUENCER_OT_select_handles().
|
static |
Definition at line 2260 of file sequencer_select.cc.
Referenced by SEQUENCER_OT_select_grouped().