|
Blender
V2.59
|
#include <stdlib.h>#include <math.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include "BLI_blenlib.h"#include "BLI_math.h"#include "BLI_utildefines.h"#include "DNA_scene_types.h"#include "BKE_context.h"#include "BKE_sequencer.h"#include "WM_api.h"#include "WM_types.h"#include "RNA_define.h"#include "ED_types.h"#include "ED_screen.h"#include "UI_view2d.h"#include "sequencer_intern.h"Go to the source code of this file.
Definition in file sequencer_select.c.
| static void* find_nearest_marker | ( | int | UNUSEDd1, |
| int | UNUSEDd2 | ||
| ) | [static] |
Definition at line 66 of file sequencer_select.c.
References NULL.
Referenced by sequencer_select_invoke().
| static void select_active_side | ( | ListBase * | seqbase, |
| int | sel_side, | ||
| int | channel, | ||
| int | frame | ||
| ) | [static] |
Definition at line 88 of file sequencer_select.c.
References ListBase::first, Sequence::flag, Sequence::machine, Sequence::next, SELECT, SEQ_LEFTSEL, SEQ_RIGHTSEL, SEQ_SIDE_BOTH, SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, and Sequence::startdisp.
Referenced by sequencer_select_active_side_exec(), and sequencer_select_invoke().
Definition at line 116 of file sequencer_select.c.
References Sequence::enddisp, ListBase::first, Sequence::flag, Sequence::machine, Sequence::next, recurs_sel_seq(), SELECT, SEQ_LEFTSEL, SEQ_RIGHTSEL, and Sequence::startdisp.
Referenced by sequencer_select_invoke().
| static int select_more_less_seq__internal | ( | Scene * | scene, |
| int | sel, | ||
| int | linked | ||
| ) | [static] |
Definition at line 533 of file sequencer_select.c.
References FALSE, find_neighboring_sequence(), ListBase::first, Sequence::flag, Sequence::next, NULL, recurs_sel_seq(), SELECT, seq_give_editing(), SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, Editing::seqbasep, and Sequence::tmp.
Referenced by sequencer_select_less_exec(), sequencer_select_linked_exec(), sequencer_select_linked_pick_invoke(), and sequencer_select_more_exec().
Definition at line 162 of file sequencer_select.c.
References Editing::act_imagedir, Editing::act_sounddir, deselect_all_seq(), Strip::dir, FALSE, FILE_MAXDIR, Sequence::flag, recurs_sel_seq(), SELECT, seq_active_set(), seq_give_editing(), SEQ_IMAGE, SEQ_MOVIE, SEQ_SOUND, Sequence::strip, and Sequence::type.
Definition at line 68 of file sequencer_select.c.
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_invoke().
| static int sequencer_borderselect_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 819 of file sequencer_select.c.
References BLI_isect_rctf(), CTX_data_scene(), FALSE, ListBase::first, Sequence::flag, GESTURE_MODAL_SELECT, NA_SELECTED, NC_SCENE, ND_SEQUENCER, Sequence::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, ImBuf::rect, recurs_sel_seq(), RNA_int_get(), SELECT, SEQ_ALLSEL, seq_give_editing(), seq_rectf(), Editing::seqbasep, UI_view2d_fromcontext(), UI_view2d_region_to_view(), WM_event_add_notifier(), rcti::xmax, rctf::xmax, rcti::xmin, rctf::xmin, rcti::ymax, rctf::ymax, rcti::ymin, and rctf::ymin.
Referenced by SEQUENCER_OT_select_border().
| static int sequencer_deselect_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 217 of file sequencer_select.c.
References CTX_data_scene(), FALSE, ListBase::first, Sequence::flag, NA_SELECTED, NC_SCENE, ND_SEQUENCER, Sequence::next, OPERATOR_FINISHED, SELECT, SEQ_ALLSEL, seq_give_editing(), SEQ_LEFTSEL, SEQ_RIGHTSEL, Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_all_toggle().
| void SEQUENCER_OT_select | ( | wmOperatorType * | ot | ) |
Definition at line 507 of file sequencer_select.c.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), sequencer_select_invoke(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_active_side | ( | wmOperatorType * | ot | ) |
Definition at line 799 of file sequencer_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, prop_side_types, RNA_def_enum(), SEQ_SIDE_BOTH, sequencer_edit_poll(), sequencer_select_active_side_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_all_toggle | ( | struct wmOperatorType * | ot | ) |
Definition at line 246 of file sequencer_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, sequencer_deselect_exec(), and sequencer_edit_poll().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_border | ( | wmOperatorType * | ot | ) |
Definition at line 863 of file sequencer_select.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, FALSE, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, sequencer_borderselect_exec(), WM_border_select_cancel(), WM_border_select_invoke(), WM_border_select_modal(), and WM_operator_properties_gesture_border().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_handles | ( | wmOperatorType * | ot | ) |
Definition at line 762 of file sequencer_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, prop_side_types, RNA_def_enum(), SEQ_SIDE_BOTH, sequencer_edit_poll(), sequencer_select_handles_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_inverse | ( | struct wmOperatorType * | ot | ) |
Definition at line 284 of file sequencer_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_select_inverse_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_less | ( | wmOperatorType * | ot | ) |
Definition at line 627 of file sequencer_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_select_less_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_linked | ( | wmOperatorType * | ot | ) |
Definition at line 712 of file sequencer_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, 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 677 of file sequencer_select.c.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, RNA_def_boolean(), sequencer_select_linked_pick_invoke(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_select_more | ( | wmOperatorType * | ot | ) |
Definition at line 596 of file sequencer_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_select_more_exec().
Referenced by sequencer_operatortypes().
| static int sequencer_select_active_side_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 781 of file sequencer_select.c.
References CTX_data_scene(), Sequence::flag, Sequence::machine, NA_SELECTED, NC_SCENE, ND_SEQUENCER, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SELECT, select_active_side(), seq_active_get(), seq_give_editing(), Editing::seqbasep, Sequence::startdisp, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_active_side().
| static int sequencer_select_handles_exec | ( | bContext * | C, |
| wmOperator * | op | ||
| ) | [static] |
Definition at line 731 of file sequencer_select.c.
References CTX_data_scene(), ListBase::first, Sequence::flag, NA_SELECTED, NC_SCENE, ND_SEQUENCER, Sequence::next, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SELECT, seq_give_editing(), SEQ_LEFTSEL, SEQ_RIGHTSEL, SEQ_SIDE_BOTH, SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_handles().
| static int sequencer_select_inverse_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 263 of file sequencer_select.c.
References CTX_data_scene(), FALSE, ListBase::first, Sequence::flag, NA_SELECTED, NC_SCENE, ND_SEQUENCER, Sequence::next, OPERATOR_FINISHED, SELECT, SEQ_ALLSEL, seq_give_editing(), SEQ_LEFTSEL, SEQ_RIGHTSEL, Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_inverse().
| static int sequencer_select_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| wmEvent * | event | ||
| ) | [static] |
Definition at line 299 of file sequencer_select.c.
References TNT::abs(), Editing::act_imagedir, Editing::act_seq, Editing::act_sounddir, CFRA, CTX_data_scene(), CTX_wm_space_seq(), deselect_all_seq(), Strip::dir, ELEM, Sequence::enddisp, FALSE, FILE_MAXDIR, find_nearest_marker(), find_nearest_seq(), find_neighboring_sequence(), ListBase::first, Sequence::flag, SpaceSeq::flag, TimeMarker::flag, TimeMarker::frame, Sequence::machine, Scene::markers, wmEvent::mval, NA_SELECTED, NC_SCENE, ND_SEQUENCER, TimeMarker::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, recurs_sel_seq(), RNA_boolean_get(), SCE_MARKERS, SELECT, select_active_side(), select_linked_time(), select_surrounding_handles(), seq_active_set(), SEQ_ALLSEL, SEQ_END, seq_give_editing(), SEQ_IMAGE, SEQ_LEFTSEL, SEQ_MARKER_TRANS, SEQ_MOVIE, SEQ_RIGHTSEL, SEQ_SIDE_LEFT, SEQ_SIDE_NONE, SEQ_SIDE_RIGHT, SEQ_SOUND, Editing::seqbasep, SEQP_BEGIN, Sequence::startdisp, Sequence::strip, Sequence::type, UI_view2d_fromcontext(), UI_view2d_region_to_view(), WM_event_add_notifier(), and ImBuf::x.
Referenced by SEQUENCER_OT_select().
| static int sequencer_select_less_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 615 of file sequencer_select.c.
References CTX_data_scene(), 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 int sequencer_select_linked_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 697 of file sequencer_select.c.
References CTX_data_scene(), NA_SELECTED, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, select_more_less_seq__internal(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_linked().
| static int sequencer_select_linked_pick_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| wmEvent * | event | ||
| ) | [static] |
Definition at line 646 of file sequencer_select.c.
References CTX_data_scene(), deselect_all_seq(), 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_more_less_seq__internal(), UI_view2d_fromcontext(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_select_linked_pick().
| static int sequencer_select_more_exec | ( | bContext * | C, |
| wmOperator * | UNUSEDop | ||
| ) | [static] |
Definition at line 584 of file sequencer_select.c.
References CTX_data_scene(), 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().