|
Blender V5.0
|
#include "BLI_listbase.h"#include "BLI_math_base.h"#include "BLI_rect.h"#include "BKE_context.hh"#include "BKE_tracking.h"#include "WM_api.hh"#include "WM_types.hh"#include "ED_clip.hh"#include "ED_screen.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "UI_view2d.hh"#include "clip_intern.hh"Go to the source code of this file.
Functions | |
| static bool | space_clip_dopesheet_poll (bContext *C) |
| static bool | dopesheet_select_channel_poll (bContext *C) |
| static wmOperatorStatus | dopesheet_select_channel_exec (bContext *C, wmOperator *op) |
| static wmOperatorStatus | dopesheet_select_channel_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | CLIP_OT_dopesheet_select_channel (wmOperatorType *ot) |
| static wmOperatorStatus | dopesheet_view_all_exec (bContext *C, wmOperator *) |
| void | CLIP_OT_dopesheet_view_all (wmOperatorType *ot) |
| void CLIP_OT_dopesheet_select_channel | ( | wmOperatorType * | ot | ) |
Definition at line 117 of file clip_dopesheet_ops.cc.
References dopesheet_select_channel_exec(), dopesheet_select_channel_invoke(), dopesheet_select_channel_poll(), FLT_MAX, OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), and RNA_def_float_vector().
Referenced by clip_operatortypes().
| void CLIP_OT_dopesheet_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 186 of file clip_dopesheet_ops.cc.
References dopesheet_view_all_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and space_clip_dopesheet_poll().
Referenced by clip_operatortypes().
|
static |
Definition at line 57 of file clip_dopesheet_ops.cc.
References MovieTrackingObject::active_track, BKE_tracking_object_get_active(), BKE_tracking_track_deselect(), BKE_tracking_track_select(), C, CHANNEL_FIRST, CHANNEL_HEIGHT_HALF, CHANNEL_STEP, MovieTrackingDopesheet::channels, CTX_wm_space_clip(), MovieTracking::dopesheet, ED_space_clip_get_clip(), MovieTrackingDopesheet::flag, MovieTrackingTrack::flag, LISTBASE_FOREACH, NC_GEOM, ND_SELECT, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_float_get_array(), TRACK_AREA_ALL, TRACK_DOPE_SEL, MovieClip::tracking, TRACKING_DOPE_SELECTED_ONLY, MovieTrackingObject::tracks, and WM_event_add_notifier().
Referenced by CLIP_OT_dopesheet_select_channel(), and dopesheet_select_channel_invoke().
|
static |
Definition at line 103 of file clip_dopesheet_ops.cc.
References C, CTX_wm_region(), dopesheet_select_channel_exec(), wmEvent::mval, wmOperator::ptr, RNA_float_set_array(), UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by CLIP_OT_dopesheet_select_channel().
|
static |
Definition at line 46 of file clip_dopesheet_ops.cc.
References C, SpaceClip::clip, CTX_wm_space_clip(), SC_VIEW_DOPESHEET, and SpaceClip::view.
Referenced by CLIP_OT_dopesheet_select_channel().
|
static |
Definition at line 152 of file clip_dopesheet_ops.cc.
References BLI_rctf_size_x(), C, MovieTrackingDopesheet::channels, CTX_wm_region(), CTX_wm_space_clip(), View2D::cur, MovieTracking::dopesheet, ED_region_tag_redraw(), ED_space_clip_get_clip(), LISTBASE_FOREACH, max_ii(), min_ii(), OPERATOR_FINISHED, MovieClip::tracking, ARegion::v2d, rctf::xmax, and rctf::xmin.
Referenced by CLIP_OT_dopesheet_view_all().
|
static |
Definition at line 29 of file clip_dopesheet_ops.cc.
References C, CTX_wm_region(), CTX_wm_space_clip(), ED_space_clip_tracking_poll(), ARegion::regiontype, RGN_TYPE_PREVIEW, SC_VIEW_DOPESHEET, and SpaceClip::view.
Referenced by CLIP_OT_dopesheet_view_all().