|
Blender V4.3
|
#include "BLI_utildefines.h"#include "DNA_scene_types.h"#include "BKE_context.hh"#include "BKE_scene.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_define.hh"#include "UI_view2d.hh"#include "SEQ_sequencer.hh"#include "SEQ_time.hh"#include "SEQ_transform.hh"#include "ED_anim_api.hh"#include "ED_markers.hh"#include "ED_screen.hh"#include "ED_sequencer.hh"#include "ED_time_scrub_ui.hh"#include "ED_util_imbuf.hh"#include "sequencer_intern.hh"Go to the source code of this file.
Definition at line 84 of file sequencer_view.cc.
References BLI_rctf_pad_y(), CTX_wm_region(), and SEQ_get_timeline_region_padding().
Referenced by seq_view_collection_rect_timeline(), and sequencer_view_all_exec().
| void SEQ_get_timeline_region_padding | ( | const bContext * | C, |
| float * | r_pad_top, | ||
| float * | r_pad_bottom ) |
Definition at line 70 of file sequencer_view.cc.
References BLI_listbase_is_empty(), SpaceSeq::cache_overlay, CTX_wm_space_seq(), ED_context_get_markers(), SequencerCacheOverlay::flag, SpaceSeq::flag, SEQ_CACHE_SHOW, SEQ_CACHE_SHOW_FINAL_OUT, SEQ_SHOW_OVERLAY, UI_MARKER_MARGIN_Y, UI_TIME_CACHE_MARGIN_Y, UI_TIME_SCRUB_MARGIN_Y, and V2D_SCROLL_HANDLE_HEIGHT.
Referenced by SEQ_add_timeline_region_padding(), and sequencer_main_clamp_view().
|
static |
Definition at line 292 of file sequencer_view.cc.
References BLI_rctf_pad(), BLI_rctf_scale(), BLI_rctf_size_x(), BLI_rctf_size_y(), min, min_ff(), 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 315 of file sequencer_view.cc.
References BLI_rctf_cent_y(), BLI_rctf_size_y(), CTX_data_scene(), FPS, max_ii(), MAXFRAME, min_ii(), SEQ_active_seqbase_get(), SEQ_add_timeline_region_padding(), SEQ_editing_get(), SEQ_MAX_CHANNELS, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_timeline_boundbox(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by sequencer_view_selected_exec().
| void SEQUENCER_OT_sample | ( | wmOperatorType * | ot | ) |
Definition at line 42 of file sequencer_view.cc.
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 121 of file sequencer_view.cc.
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 220 of file sequencer_view.cc.
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 150 of file sequencer_view.cc.
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 468 of file sequencer_view.cc.
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 413 of file sequencer_view.cc.
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 263 of file sequencer_view.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, FLT_MAX, 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 97 of file sequencer_view.cc.
References CTX_data_scene(), CTX_wm_region(), MetaStack::disp_range, OPERATOR_FINISHED, SEQ_active_seqbase_get(), SEQ_add_timeline_region_padding(), SEQ_editing_get(), SEQ_meta_stack_active_get(), SEQ_timeline_expand_boundbox(), SEQ_timeline_init_boundbox(), UI_view2d_smooth_view(), and WM_operator_smooth_viewtx_get().
Referenced by SEQUENCER_OT_view_all().
|
static |
Definition at line 171 of file sequencer_view.cc.
References BKE_render_resolution(), 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, int, min_ff(), OPERATOR_FINISHED, power_of_2(), SEQ_ZOOM_TO_FIT, View2D::tot, UI_view2d_curRect_changed(), UI_view2d_fromcontext(), UI_view2d_sync(), and V2D_LOCK_COPY.
Referenced by SEQUENCER_OT_view_all_preview().
|
static |
Definition at line 142 of file sequencer_view.cc.
References ANIM_center_frame(), OPERATOR_FINISHED, and WM_operator_smooth_viewtx_get().
Referenced by SEQUENCER_OT_view_frame().
|
static |
Definition at line 384 of file sequencer_view.cc.
References CTX_data_scene(), CTX_wm_region(), View2D::cur, ED_sequencer_selected_strips_from_context(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), OPERATOR_CANCELLED, OPERATOR_FINISHED, RGN_TYPE_PREVIEW, 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 241 of file sequencer_view.cc.
References BKE_render_resolution(), BLI_rctf_resize(), BLI_rcti_size_x(), BLI_rcti_size_y(), 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 434 of file sequencer_view.cc.
References BLI_rctf_size_x(), BLI_rctf_size_y(), CLAMP, CTX_data_scene(), fabsf, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, 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().