|
Blender
V2.93
|
#include "BLI_blenlib.h"#include "BLI_math.h"#include "BLI_utildefines.h"#include "DNA_scene_types.h"#include "BKE_context.h"#include "WM_api.h"#include "WM_types.h"#include "RNA_define.h"#include "UI_view2d.h"#include "SEQ_select.h"#include "SEQ_sequencer.h"#include "SEQ_time.h"#include "ED_anim_api.h"#include "ED_screen.h"#include "ED_util_imbuf.h"#include "sequencer_intern.h"Go to the source code of this file.
| void SEQUENCER_OT_sample | ( | wmOperatorType * | ot | ) |
Definition at line 57 of file sequencer_view.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_imbuf_sample_cancel(), ED_imbuf_sample_invoke(), ED_imbuf_sample_modal(), ED_imbuf_sample_poll(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_PIXEL, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), RNA_def_property_subtype(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 100 of file sequencer_view.c.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, and sequencer_view_all_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_view_all_preview | ( | wmOperatorType * | ot | ) |
Definition at line 200 of file sequencer_view.c.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, and sequencer_view_all_preview_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_view_frame | ( | wmOperatorType * | ot | ) |
Definition at line 129 of file sequencer_view.c.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and sequencer_view_frame_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_view_ghost_border | ( | wmOperatorType * | ot | ) |
Definition at line 391 of file sequencer_view.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, sequencer_view_preview_poll(), view_ghost_border_exec(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), and WM_operator_properties_gesture_box().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 336 of file sequencer_view.c.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, and sequencer_view_selected_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_view_zoom_ratio | ( | wmOperatorType * | ot | ) |
Definition at line 243 of file sequencer_view.c.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_float(), sequencer_view_zoom_ratio_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
|
static |
Definition at line 86 of file sequencer_view.c.
References C, CTX_data_scene(), CTX_wm_region(), OPERATOR_FINISHED, scene, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_timeline_boundbox(), UI_view2d_smooth_view(), and WM_operator_smooth_viewtx_get().
Referenced by SEQUENCER_OT_view_all().
|
static |
Definition at line 150 of file sequencer_view.c.
References blender::compositor::area(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), CTX_wm_screen(), CTX_wm_space_seq(), View2D::cur, ED_area_tag_redraw(), SpaceSeq::flag, float(), height, min_ff(), OPERATOR_FINISHED, power_of_2(), Scene::r, scene, SEQ_ZOOM_TO_FIT, RenderData::size, View2D::tot, UI_view2d_curRect_changed(), UI_view2d_fromcontext(), UI_view2d_sync(), V2D_LOCK_COPY, width, ARegion::winx, ARegion::winy, RenderData::xasp, RenderData::xsch, RenderData::yasp, and RenderData::ysch.
Referenced by SEQUENCER_OT_view_all_preview().
|
static |
Definition at line 121 of file sequencer_view.c.
References ANIM_center_frame(), C, OPERATOR_FINISHED, and WM_operator_smooth_viewtx_get().
Referenced by SEQUENCER_OT_view_frame().
|
static |
Definition at line 272 of file sequencer_view.c.
References BLI_rctf_cent_y(), BLI_rctf_size_y(), C, CTX_data_scene(), CTX_wm_region(), View2D::cur, Sequence::enddisp, ListBase::first, Sequence::flag, FPS, Sequence::machine, max_ii(), MAXFRAME, MAXSEQ, min_ii(), Sequence::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, scene, SELECT, SEQ_editing_get(), SEQ_select_active_get(), Editing::seqbasep, Sequence::startdisp, UI_view2d_fromcontext(), UI_view2d_smooth_view(), WM_operator_smooth_viewtx_get(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by SEQUENCER_OT_view_selected().
|
static |
Definition at line 221 of file sequencer_view.c.
References BLI_rctf_resize(), BLI_rcti_size_x(), BLI_rcti_size_y(), C, ceilf, CTX_data_scene(), CTX_wm_region(), View2D::cur, ED_region_tag_redraw(), View2D::mask, OPERATOR_FINISHED, wmOperator::ptr, Scene::r, RNA_float_get(), RenderData::size, UI_view2d_curRect_changed(), UI_view2d_fromcontext(), RenderData::xsch, and RenderData::ysch.
Referenced by SEQUENCER_OT_view_zoom_ratio().
|
static |
Definition at line 357 of file sequencer_view.c.
References BLI_rctf_size_x(), BLI_rctf_size_y(), C, CLAMP, CTX_data_scene(), Scene::ed, fabsf, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, Editing::over_border, scene, View2D::tot, UI_view2d_fromcontext(), UI_view2d_region_to_view_rctf(), WM_event_add_notifier(), WM_operator_properties_border_to_rctf(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by SEQUENCER_OT_view_ghost_border().