Blender
V3.3
|
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "DNA_scene_types.h"
#include "BKE_context.h"
#include "BKE_scene.h"
#include "WM_api.h"
#include "WM_types.h"
#include "RNA_define.h"
#include "UI_view2d.h"
#include "SEQ_iterator.h"
#include "SEQ_select.h"
#include "SEQ_sequencer.h"
#include "SEQ_time.h"
#include "SEQ_transform.h"
#include "ED_anim_api.h"
#include "ED_screen.h"
#include "ED_time_scrub_ui.h"
#include "ED_util_imbuf.h"
#include "sequencer_intern.h"
Go to the source code of this file.
|
static |
Definition at line 274 of file sequencer_view.c.
References BLI_rctf_pad(), BLI_rctf_scale(), BLI_rctf_size_x(), BLI_rctf_size_y(), max, min, min_ff(), scene, SEQ_image_transform_bounding_box_from_collection(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by sequencer_view_selected_exec().
|
static |
Definition at line 295 of file sequencer_view.c.
References BLI_rctf_cent_y(), BLI_rctf_size_y(), FPS, Sequence::machine, max_ii(), MAXFRAME, MAXSEQ, min_ii(), scene, SEQ_ITERATOR_FOREACH, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by sequencer_view_selected_exec().
void SEQUENCER_OT_sample | ( | wmOperatorType * | ot | ) |
Definition at line 43 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 103 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 202 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 132 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 422 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_has_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 367 of file sequencer_view.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, sequencer_editing_initialized_and_active(), and sequencer_view_selected_exec().
Referenced by sequencer_operatortypes().
void SEQUENCER_OT_view_zoom_ratio | ( | wmOperatorType * | ot | ) |
Definition at line 245 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 72 of file sequencer_view.c.
References BLI_rctf_size_y(), BLI_rcti_size_y(), C, CTX_data_scene(), CTX_wm_region(), View2D::cur, MetaStack::disp_range, ED_time_scrub_region_rect_get(), View2D::mask, NULL, OPERATOR_FINISHED, scene, SEQ_active_seqbase_get(), SEQ_editing_get(), SEQ_meta_stack_active_get(), SEQ_timeline_expand_boundbox(), SEQ_timeline_init_boundbox(), UI_view2d_smooth_view(), ARegion::v2d, WM_operator_smooth_viewtx_get(), rctf::xmax, rctf::xmin, and rctf::ymax.
Referenced by SEQUENCER_OT_view_all().
|
static |
Definition at line 153 of file sequencer_view.c.
References blender::compositor::area(), BKE_render_resolution(), 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, View2D::tot, UI_view2d_curRect_changed(), UI_view2d_fromcontext(), UI_view2d_sync(), V2D_LOCK_COPY, width, ARegion::winx, ARegion::winy, RenderData::xasp, and RenderData::yasp.
Referenced by SEQUENCER_OT_view_all_preview().
|
static |
Definition at line 124 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 338 of file sequencer_view.c.
References C, CTX_data_scene(), CTX_wm_region(), View2D::cur, OPERATOR_CANCELLED, OPERATOR_FINISHED, ARegion::regiontype, RGN_TYPE_PREVIEW, scene, selected_strips_from_context(), SEQ_collection_len(), seq_view_collection_rect_preview(), seq_view_collection_rect_timeline(), sequencer_view_has_preview_poll(), sequencer_view_preview_only_poll(), UI_view2d_fromcontext(), UI_view2d_smooth_view(), and WM_operator_smooth_viewtx_get().
Referenced by SEQUENCER_OT_view_selected().
|
static |
Definition at line 223 of file sequencer_view.c.
References BKE_render_resolution(), 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(), float(), View2D::mask, OPERATOR_FINISHED, wmOperator::ptr, Scene::r, RNA_float_get(), UI_view2d_curRect_changed(), and UI_view2d_fromcontext().
Referenced by SEQUENCER_OT_view_zoom_ratio().
|
static |
Definition at line 388 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::overlay_frame_rect, 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().