|
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(), C, CTX_wm_region(), SEQ_get_timeline_region_padding(), and ARegion::winy.
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(), C, 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(), max, 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(), C, 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 ED_imbuf_sample_cancel(), ED_imbuf_sample_invoke(), ED_imbuf_sample_modal(), ED_imbuf_sample_poll(), OPTYPE_BLOCKING, ot, PROP_HIDDEN, PROP_PIXEL, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and RNA_def_property_subtype().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 121 of file sequencer_view.cc.
References ED_operator_sequencer_active(), OPTYPE_REGISTER, ot, 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 ED_operator_sequencer_active(), OPTYPE_REGISTER, ot, 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 ED_operator_sequencer_active(), ot, 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 ot, 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 OPTYPE_REGISTER, ot, 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 ED_operator_sequencer_active(), FLT_MAX, ot, RNA_def_float(), and sequencer_view_zoom_ratio_exec().
Referenced by sequencer_operatortypes().
|
static |
Definition at line 97 of file sequencer_view.cc.
References C, 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(), WM_operator_smooth_viewtx_get(), rctf::xmax, and rctf::xmin.
Referenced by SEQUENCER_OT_view_all().
|
static |
Definition at line 171 of file sequencer_view.cc.
References 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, int, min_ff(), OPERATOR_FINISHED, power_of_2(), Scene::r, SEQ_ZOOM_TO_FIT, View2D::tot, UI_view2d_curRect_changed(), UI_view2d_fromcontext(), UI_view2d_sync(), V2D_LOCK_COPY, ARegion::winx, ARegion::winy, RenderData::xasp, and RenderData::yasp.
Referenced by SEQUENCER_OT_view_all_preview().
|
static |
Definition at line 142 of file sequencer_view.cc.
References ANIM_center_frame(), C, 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 C, 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, ARegion::regiontype, 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(), 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 434 of file sequencer_view.cc.
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, 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().