|
Blender V5.0
|
#include <cfloat>#include <cstring>#include "DNA_defaults.h"#include "DNA_mask_types.h"#include "DNA_movieclip_types.h"#include "DNA_scene_types.h"#include "DNA_view3d_types.h"#include "MEM_guardedalloc.h"#include "BLI_listbase.h"#include "BLI_math_base.h"#include "BLI_path_utils.hh"#include "BLI_string_utf8.h"#include "BLI_utildefines.h"#include "BKE_context.hh"#include "BKE_lib_query.hh"#include "BKE_lib_remap.hh"#include "BKE_movieclip.h"#include "BKE_screen.hh"#include "BKE_tracking.h"#include "IMB_imbuf_types.hh"#include "ED_anim_api.hh"#include "ED_clip.hh"#include "ED_mask.hh"#include "ED_screen.hh"#include "ED_space_api.hh"#include "ED_time_scrub_ui.hh"#include "ED_uvedit.hh"#include "IMB_imbuf.hh"#include "GPU_matrix.hh"#include "WM_api.hh"#include "WM_types.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "BLO_read_write.hh"#include "RNA_access.hh"#include "clip_intern.hh"Go to the source code of this file.
Default Callbacks for Clip Space | |
| const char * | clip_context_dir [] = {"edit_movieclip", "edit_mask", nullptr} |
| static SpaceLink * | clip_create (const ScrArea *, const Scene *) |
| static void | clip_free (SpaceLink *sl) |
| static void | clip_init (wmWindowManager *, ScrArea *area) |
| static SpaceLink * | clip_duplicate (SpaceLink *sl) |
| static void | clip_listener (const wmSpaceTypeListenerParams *params) |
| static void | clip_operatortypes () |
| static void | clip_keymap (wmKeyConfig *keyconf) |
| static int | clip_context (const bContext *C, const char *member, bContextDataResult *result) |
| static bool | clip_drop_poll (bContext *, wmDrag *drag, const wmEvent *) |
| static void | clip_drop_copy (bContext *, wmDrag *drag, wmDropBox *drop) |
| static void | clip_dropboxes () |
| static void | clip_refresh (const bContext *C, ScrArea *area) |
| static void | CLIP_GGT_navigate (wmGizmoGroupType *gzgt) |
| static void | clip_gizmos () |
Definition at line 148 of file space_clip.cc.
References BKE_movieclip_user_set_frame(), RenderData::cfra, ListBase::first, Scene::r, ScrArea::spacedata, and SpaceClip::user.
Referenced by clip_listener().
Definition at line 998 of file space_clip.cc.
References BKE_tracking_dopesheet_update(), C, clip_draw_dopesheet_channels(), CTX_wm_space_clip(), ED_space_clip_get_clip(), TH_BACK, MovieClip::tracking, UI_ThemeClearColor(), UI_view2d_view_ortho(), UI_view2d_view_restore(), and ARegion::v2d.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 984 of file space_clip.cc.
References RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, View2D::scroll, SPACE_CLIP, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_LIST, V2D_SCROLL_BOTTOM, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1020 of file space_clip.cc.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 978 of file space_clip.cc.
References ELEM, params, SC_VIEW_DOPESHEET, and SpaceClip::view.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 496 of file space_clip.cc.
References C, SpaceClip::clip, clip_context_dir, CTX_data_dir(), CTX_data_dir_set(), CTX_data_equals(), CTX_data_id_pointer_set(), CTX_RESULT_MEMBER_NOT_FOUND, CTX_RESULT_OK, CTX_wm_space_clip(), Mask::id, MovieClip::id, MaskSpaceInfo::mask, SpaceClip::mask_info, and result.
Referenced by ED_spacetype_clip().
Definition at line 160 of file space_clip.cc.
References ARegion::alignment, BKE_area_region_new(), BLI_addtail(), DNA_struct_default_alloc, View2D::flag, SpaceClip::regionbase, ARegion::regiontype, RGN_ALIGN_BOTTOM, RGN_ALIGN_LEFT, RGN_ALIGN_RIGHT, RGN_ALIGN_TOP, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_PREVIEW, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_WINDOW, View2D::scroll, U, USER_HEADER_BOTTOM, ARegion::v2d, V2D_SCROLL_BOTTOM, and V2D_VIEWSYNC_AREA_VERTICAL.
Referenced by ED_spacetype_clip().
Definition at line 536 of file space_clip.cc.
References BLI_path_split_dir_file(), FILE_MAX, wmDropBox::ptr, RNA_collection_add(), RNA_collection_clear(), RNA_string_set(), and WM_drag_get_single_path().
Referenced by clip_dropboxes().
Definition at line 524 of file space_clip.cc.
References ELEM, FILE_TYPE_IMAGE, FILE_TYPE_MOVIE, wmDrag::type, WM_drag_get_path_file_type(), and WM_DRAG_PATH.
Referenced by clip_dropboxes().
|
static |
Definition at line 551 of file space_clip.cc.
References clip_drop_copy(), clip_drop_poll(), RGN_TYPE_WINDOW, SPACE_CLIP, WM_dropbox_add(), and WM_dropboxmap_find().
Referenced by ED_spacetype_clip().
Definition at line 238 of file space_clip.cc.
References MEM_dupallocN(), MovieClipScopes::ok, SpaceClip::scopes, MovieClipScopes::track_preview, and MovieClipScopes::track_search.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1197 of file space_clip.cc.
References BKE_LIB_FOREACHID_PROCESS_IDSUPER, BKE_lib_query_foreachid_process_flags_get(), SpaceClip::clip, data, IDWALK_CB_DIRECT_WEAK_LINK, IDWALK_CB_USER_ONE, IDWALK_READONLY, MaskSpaceInfo::mask, SpaceClip::mask_info, MovieClipScopes::ok, and SpaceClip::scopes.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 214 of file space_clip.cc.
References SpaceClip::clip, IMB_freeImBuf(), SpaceClip::scopes, MovieClipScopes::track_preview, and MovieClipScopes::track_search.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 585 of file space_clip.cc.
References VIEW2D_GGT_navigate_impl().
Referenced by clip_gizmos().
|
static |
Definition at line 590 of file space_clip.cc.
References CLIP_GGT_navigate(), RGN_TYPE_WINDOW, SPACE_CLIP, WM_gizmogrouptype_append_and_link(), and WM_gizmomaptype_ensure().
Referenced by ED_spacetype_clip().
Definition at line 1034 of file space_clip.cc.
References C, and ED_region_header().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1029 of file space_clip.cc.
References ED_region_header_init().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1039 of file space_clip.cc.
References wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NC_SCENE, ND_TOOLSETTINGS, and params.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1183 of file space_clip.cc.
References blender::bke::id::IDRemapper::apply(), SpaceClip::clip, blender::bke::id::IDRemapper::contains_mappings_for_any(), FILTER_ID_MC, FILTER_ID_MSK, ID_REMAP_APPLY_ENSURE_REAL, MaskSpaceInfo::mask, and SpaceClip::mask_info.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 230 of file space_clip.cc.
References ScrArea::handlers, RGN_TYPE_WINDOW, SPACE_CLIP, WM_dropboxmap_find(), and WM_event_add_dropbox_handler().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 476 of file space_clip.cc.
References RGN_TYPE_WINDOW, SPACE_CLIP, and WM_keymap_ensure().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 250 of file space_clip.cc.
References wmNotifier::action, ATTR_FALLTHROUGH, wmNotifier::category, clip_area_sync_frame_from_scene(), clip_scopes_check_gpencil_change(), clip_scopes_tag_refresh(), wmNotifier::data, ED_area_tag_redraw(), NA_EDITED, NA_EVALUATED, NA_REMOVED, NA_SELECTED, NC_GEOM, NC_GPENCIL, NC_MASK, NC_MOVIECLIP, NC_SCENE, NC_SCREEN, NC_SPACE, NC_WM, ND_ANIMPLAY, ND_DATA, ND_DISPLAY, ND_DRAW, ND_FILEREAD, ND_FRAME, ND_FRAME_RANGE, ND_GPENCIL_EDITMODE, ND_LAYOUTSET, ND_SELECT, ND_SPACE_CLIP, ND_UNDO, and params.
Referenced by ED_spacetype_clip().
Definition at line 678 of file space_clip.cc.
References SpaceClip::around, BKE_autotrack_context_sync_user(), MaskSpaceInfo::blend_factor, C, clip_draw_cache_and_notes(), clip_draw_grease_pencil(), clip_draw_main(), CTX_data_edit_mask(), CTX_data_expect_evaluated_depsgraph(), CTX_wm_area(), CTX_wm_space_clip(), SpaceClip::cursor, MaskSpaceInfo::draw_flag, MaskSpaceInfo::draw_type, ED_clip_view_selection(), ED_image_draw_cursor(), ED_mask_draw_region(), ED_mask_get_size(), ED_region_draw_cb_draw(), ED_space_clip_get_aspect(), ED_space_clip_get_clip(), ED_space_clip_get_size(), ED_space_clip_get_stable_buffer(), ED_space_clip_get_zoom(), MovieTrackingStabilization::flag, SpaceClip::flag, SpaceClipOverlay::flag, SpaceClip::gizmo_flag, GPU_matrix_mul, GPU_matrix_pop(), GPU_matrix_push(), GPU_matrix_scale_2f(), GPU_matrix_translate_2f(), IMB_freeImBuf(), mask(), SpaceClip::mask_info, SpaceClip::mode, movieclip_main_area_set_view2d(), SpaceClip::overlay, MaskSpaceInfo::overlay_mode, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, ARegion::runtime, SC_LOCK_SELECTION, SC_MODE_MASKEDIT, SC_SHOW_ANNOTATION, SC_SHOW_CURSOR, SC_SHOW_OVERLAYS, SCLIP_GIZMO_HIDE, MovieTracking::stabilization, SpaceClip::stabmat, TH_BACK, MovieClip::tracking, TRACKING_2D_STABILIZATION, MovieClip::tracking_context, UI_ThemeClearColor(), UI_view2d_view_restore(), UI_view2d_view_to_region_fl(), SpaceClip::user, ARegion::v2d, V3D_AROUND_CURSOR, WM_gizmomap_draw(), WM_GIZMOMAP_DRAWSTEP_2D, x, SpaceClip::xlockof, SpaceClip::xof, y, SpaceClip::ylockof, and SpaceClip::yof.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 658 of file space_clip.cc.
References RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_CLIP, SPACE_EMPTY, WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 795 of file space_clip.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NA_EDITED, NC_GPENCIL, ND_GPENCIL_EDITMODE, and params.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 651 of file space_clip.cc.
References ELEM, params, SC_VIEW_CLIP, and SpaceClip::view.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 350 of file space_clip.cc.
References CLIP_OT_add_marker(), CLIP_OT_add_marker_at_click(), CLIP_OT_apply_solution_scale(), CLIP_OT_average_tracks(), CLIP_OT_change_frame(), CLIP_OT_clean_tracks(), CLIP_OT_clear_solution(), CLIP_OT_clear_track_path(), CLIP_OT_copy_tracks(), CLIP_OT_create_plane_track(), CLIP_OT_cursor_set(), CLIP_OT_delete_marker(), CLIP_OT_delete_track(), CLIP_OT_detect_features(), CLIP_OT_disable_markers(), CLIP_OT_dopesheet_select_channel(), CLIP_OT_dopesheet_view_all(), CLIP_OT_frame_jump(), CLIP_OT_graph_center_current_frame(), CLIP_OT_graph_delete_curve(), CLIP_OT_graph_delete_knot(), CLIP_OT_graph_disable_markers(), CLIP_OT_graph_select(), CLIP_OT_graph_select_all_markers(), CLIP_OT_graph_select_box(), CLIP_OT_graph_view_all(), CLIP_OT_hide_tracks(), CLIP_OT_hide_tracks_clear(), CLIP_OT_join_tracks(), CLIP_OT_keyframe_delete(), CLIP_OT_keyframe_insert(), CLIP_OT_lock_selection_toggle(), CLIP_OT_lock_tracks(), CLIP_OT_mode_set(), CLIP_OT_new_image_from_plane_marker(), CLIP_OT_open(), CLIP_OT_paste_tracks(), CLIP_OT_prefetch(), CLIP_OT_rebuild_proxy(), CLIP_OT_refine_markers(), CLIP_OT_reload(), CLIP_OT_select(), CLIP_OT_select_all(), CLIP_OT_select_box(), CLIP_OT_select_circle(), CLIP_OT_select_grouped(), CLIP_OT_select_lasso(), CLIP_OT_set_axis(), CLIP_OT_set_origin(), CLIP_OT_set_plane(), CLIP_OT_set_scale(), CLIP_OT_set_scene_frames(), CLIP_OT_set_solution_scale(), CLIP_OT_set_solver_keyframe(), CLIP_OT_slide_marker(), CLIP_OT_slide_plane_marker(), CLIP_OT_solve_camera(), CLIP_OT_stabilize_2d_add(), CLIP_OT_stabilize_2d_remove(), CLIP_OT_stabilize_2d_rotation_add(), CLIP_OT_stabilize_2d_rotation_remove(), CLIP_OT_stabilize_2d_rotation_select(), CLIP_OT_stabilize_2d_select(), CLIP_OT_track_copy_color(), CLIP_OT_track_markers(), CLIP_OT_tracking_object_new(), CLIP_OT_tracking_object_remove(), CLIP_OT_update_image_from_plane_marker(), CLIP_OT_view_all(), CLIP_OT_view_center_cursor(), CLIP_OT_view_pan(), CLIP_OT_view_selected(), CLIP_OT_view_zoom(), CLIP_OT_view_zoom_in(), CLIP_OT_view_zoom_out(), CLIP_OT_view_zoom_ratio(), and WM_operatortype_append().
Referenced by ED_spacetype_clip().
Definition at line 958 of file space_clip.cc.
References C, CTX_wm_space_clip(), dopesheet_region_draw(), graph_region_draw(), SC_VIEW_DOPESHEET, SC_VIEW_GRAPH, and SpaceClip::view.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 825 of file space_clip.cc.
References ED_time_scrub_event_in_region_poll(), RGN_TYPE_PREVIEW, RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_CLIP, UI_view2d_region_reinit(), ARegion::v2d, V2D_COMMONVIEW_CUSTOM, ARegion::winx, ARegion::winy, WM_event_add_keymap_handler_poll(), WM_event_add_keymap_handler_v2d_mask(), and WM_keymap_ensure().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 970 of file space_clip.cc.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 819 of file space_clip.cc.
References ELEM, params, SC_VIEW_DOPESHEET, SC_VIEW_GRAPH, and SpaceClip::view.
Referenced by ED_spacetype_clip().
Definition at line 1148 of file space_clip.cc.
References BKE_movieclip_update_scopes(), C, SpaceClip::clip, CTX_wm_space_clip(), ED_region_panels(), SpaceClip::scopes, and SpaceClip::user.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1138 of file space_clip.cc.
References ED_region_panels_init(), RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_CLIP, WM_event_add_keymap_handler(), and WM_keymap_ensure().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1157 of file space_clip.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), ELEM, NA_EDITED, NC_BRUSH, NC_GPENCIL, ND_DATA, ND_GPENCIL_EDITMODE, and params.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1131 of file space_clip.cc.
References ELEM, params, SC_VIEW_CLIP, and SpaceClip::view.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1095 of file space_clip.cc.
References wmNotifier::action, wmNotifier::category, wmNotifier::data, ED_region_tag_redraw(), NA_EDITED, NC_GPENCIL, NC_SCENE, NC_SPACE, NC_WM, ND_HISTORY, ND_MODE, ND_SPACE_CLIP, and params.
Referenced by ED_spacetype_clip().
Definition at line 558 of file space_clip.cc.
References BKE_area_find_region_type(), BKE_movieclip_user_set_frame(), C, RenderData::cfra, CTX_data_scene(), View2D::cur, ListBase::first, View2D::flag, init_preview_region(), Scene::r, RGN_TYPE_PREVIEW, SC_VIEW_DOPESHEET, ScrArea::spacedata, View2D::tot, SpaceClip::user, ARegion::v2d, V2D_IS_INIT, V2D_VIEWSYNC_AREA_VERTICAL, and SpaceClip::view.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 139 of file space_clip.cc.
References clip_scopes_tag_refresh(), ListBase::first, SpaceClip::gpencil_src, SC_GPENCIL_SRC_TRACK, and ScrArea::spacedata.
Referenced by clip_listener().
|
static |
Definition at line 121 of file space_clip.cc.
References ListBase::first, LISTBASE_FOREACH, SpaceClip::mode, MovieClipScopes::ok, ScrArea::regionbase, RGN_FLAG_HIDDEN, RGN_TYPE_UI, SC_MODE_TRACKING, SpaceClip::scopes, and ScrArea::spacedata.
Referenced by clip_listener(), and clip_scopes_check_gpencil_change().
|
static |
Definition at line 1213 of file space_clip.cc.
References MovieClipScopes::ok, SpaceClip::scopes, MovieClipScopes::track_preview, and MovieClipScopes::track_search.
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1222 of file space_clip.cc.
References BLO_write_struct.
Referenced by ED_spacetype_clip().
Definition at line 1084 of file space_clip.cc.
References C, and ED_region_panels().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1074 of file space_clip.cc.
References ED_region_panels_init(), RGN_TYPE_WINDOW, ARegion::runtime, wmWindowManager::runtime, SPACE_CLIP, WM_event_add_keymap_handler(), and WM_keymap_ensure().
Referenced by ED_spacetype_clip().
|
static |
Definition at line 1067 of file space_clip.cc.
References ELEM, params, SC_VIEW_CLIP, and SpaceClip::view.
Referenced by ED_spacetype_clip().
Definition at line 905 of file space_clip.cc.
References ANIM_draw_cfra(), BKE_tracking_dopesheet_update(), C, clip_draw_dopesheet_main(), CTX_data_scene(), CTX_wm_space_clip(), DRAWCFRA_UNIT_SECONDS, ED_space_clip_get_clip(), ED_time_scrub_draw(), ED_time_scrub_draw_current_frame(), SpaceClip::flag, HEADERY, round_db_to_int(), SC_SHOW_SECONDS, View2D::scroll, TH_BACK, TH_TIME_SCRUB_BACKGROUND, MovieClip::tracking, UI_SCALE_FAC, UI_ThemeClearColor(), UI_view2d_draw_lines_x__discrete_frames_or_seconds(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), ARegion::v2d, V2D_SCROLL_BOTTOM, and ARegion::winy.
Referenced by clip_preview_region_draw().
| void ED_spacetype_clip | ( | ) |
Definition at line 1233 of file space_clip.cc.
References BKE_spacetype_register(), BLI_addhead(), clip_channels_region_draw(), clip_channels_region_init(), clip_channels_region_listener(), clip_channels_region_poll(), clip_context(), clip_create(), clip_dropboxes(), clip_duplicate(), clip_foreach_id(), clip_free(), clip_gizmos(), clip_header_region_draw(), clip_header_region_init(), clip_header_region_listener(), clip_id_remap(), clip_init(), clip_keymap(), clip_listener(), clip_main_region_draw(), clip_main_region_init(), clip_main_region_listener(), clip_main_region_poll(), clip_operatortypes(), clip_preview_region_draw(), clip_preview_region_init(), clip_preview_region_listener(), clip_preview_region_poll(), clip_properties_region_draw(), clip_properties_region_init(), clip_properties_region_listener(), clip_properties_region_poll(), clip_props_region_listener(), clip_refresh(), clip_space_blend_read_data(), clip_space_blend_write(), clip_tools_region_draw(), clip_tools_region_init(), clip_tools_region_poll(), ARegionType::draw, ED_area_type_hud(), ED_clip_buttons_register(), ED_KEYMAP_FRAMES, ED_KEYMAP_GIZMO, ED_KEYMAP_GPENCIL, ED_KEYMAP_HEADER, ED_KEYMAP_UI, ED_KEYMAP_VIEW2D, ED_region_generic_panel_region_snap_size(), HEADERY, ARegionType::init, ARegionType::keymapflag, ARegionType::listener, MEM_callocN(), ARegionType::poll, ARegionType::prefsizex, ARegionType::prefsizey, ARegionType::regionid, RGN_TYPE_CHANNELS, RGN_TYPE_HEADER, RGN_TYPE_PREVIEW, RGN_TYPE_TOOLS, RGN_TYPE_UI, RGN_TYPE_WINDOW, ARegionType::snap_size, SPACE_CLIP, STRNCPY_UTF8, UI_COMPACT_PANEL_WIDTH, and UI_SIDEBAR_PANEL_WIDTH.
Referenced by ED_spacetypes_init().
Definition at line 850 of file space_clip.cc.
References ANIM_draw_cfra(), BLI_rcti_init(), C, clip_draw_graph(), CTX_data_scene(), CTX_wm_space_clip(), DRAWCFRA_UNIT_SECONDS, ED_clip_graph_center_current_frame(), ED_time_scrub_clamp_scroller_mask(), ED_time_scrub_draw(), ED_time_scrub_draw_current_frame(), SpaceClip::flag, HEADERY, View2D::mask, round_db_to_int(), SC_LOCK_TIMECURSOR, SC_SHOW_SECONDS, View2D::scroll, TH_BACK, TH_TEXT, TH_TIME_SCRUB_BACKGROUND, UI_SCALE_FAC, UI_ThemeClearColor(), UI_TIME_SCRUB_MARGIN_Y, UI_view2d_draw_scale_y__values(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), ARegion::v2d, V2D_SCROLL_BOTTOM, and ARegion::winy.
Referenced by clip_preview_region_draw().
|
static |
Definition at line 65 of file space_clip.cc.
References View2D::align, View2D::cur, RenderData::efra, View2D::flag, float, FLT_MAX, View2D::keepofs, View2D::keeptot, View2D::keepzoom, View2D::max, MAXFRAMEF, View2D::maxzoom, View2D::min, View2D::minzoom, Scene::r, SC_VIEW_DOPESHEET, View2D::scroll, View2D::tot, ARegion::v2d, V2D_ALIGN_NO_POS_Y, V2D_KEEPOFS_Y, V2D_LOCKZOOM_Y, V2D_SCROLL_BOTTOM, V2D_SCROLL_HORIZONTAL_HANDLES, V2D_SCROLL_RIGHT, V2D_SCROLL_VERTICAL_HANDLES, V2D_VIEWSYNC_AREA_VERTICAL, SpaceClip::view, ScrArea::winx, ScrArea::winy, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by clip_refresh().
Definition at line 605 of file space_clip.cc.
References BLI_rcti_size_x(), BLI_rcti_size_y(), C, CTX_wm_space_clip(), View2D::cur, ED_space_clip_get_aspect(), ED_space_clip_get_size(), float, View2D::mask, View2D::tot, ARegion::v2d, w(), ARegion::winrct, rctf::xmax, rcti::xmax, rctf::xmin, rcti::xmin, SpaceClip::xof, rctf::ymax, rcti::ymax, rctf::ymin, rcti::ymin, SpaceClip::yof, and SpaceClip::zoom.
Referenced by clip_main_region_draw().
| const char * clip_context_dir = {"edit_movieclip", "edit_mask", nullptr} |
Definition at line 493 of file space_clip.cc.
Referenced by bpy_context_members(), and clip_context().