Blender
V3.3
|
#include "DNA_scene_types.h"
#include "BLI_math.h"
#include "BLI_rect.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_tracking.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_clip.h"
#include "ED_screen.h"
#include "UI_interface.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_view2d.h"
#include "clip_intern.h"
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 int | dopesheet_select_channel_exec (bContext *C, wmOperator *op) |
static int | dopesheet_select_channel_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
void | CLIP_OT_dopesheet_select_channel (wmOperatorType *ot) |
static int | dopesheet_view_all_exec (bContext *C, wmOperator *UNUSED(op)) |
void | CLIP_OT_dopesheet_view_all (wmOperatorType *ot) |
void CLIP_OT_dopesheet_select_channel | ( | wmOperatorType * | ot | ) |
Definition at line 120 of file clip_dopesheet_ops.c.
References wmOperatorType::description, dopesheet_select_channel_exec(), dopesheet_select_channel_invoke(), dopesheet_select_channel_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float_vector(), and wmOperatorType::srna.
Referenced by clip_operatortypes().
void CLIP_OT_dopesheet_view_all | ( | wmOperatorType * | ot | ) |
Definition at line 188 of file clip_dopesheet_ops.c.
References wmOperatorType::description, dopesheet_view_all_exec(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and space_clip_dopesheet_poll().
Referenced by clip_operatortypes().
|
static |
Definition at line 60 of file clip_dopesheet_ops.c.
References MovieTracking::act_track, BKE_tracking_object_get_active(), BKE_tracking_object_get_tracks(), 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(), ListBase::first, MovieTrackingTrack::flag, MovieTrackingDopesheet::flag, NC_GEOM, ND_SELECT, MovieTrackingDopesheetChannel::next, NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_float_get_array(), MovieTrackingDopesheetChannel::track, TRACK_AREA_ALL, TRACK_DOPE_SEL, MovieClip::tracking, TRACKING_DOPE_SELECTED_ONLY, and WM_event_add_notifier().
Referenced by CLIP_OT_dopesheet_select_channel(), and dopesheet_select_channel_invoke().
|
static |
Definition at line 108 of file clip_dopesheet_ops.c.
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().
Definition at line 49 of file clip_dopesheet_ops.c.
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 155 of file clip_dopesheet_ops.c.
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::first, max_ii(), min_ii(), MovieTrackingDopesheetChannel::next, OPERATOR_FINISHED, MovieTrackingDopesheetChannel::segments, MovieTrackingDopesheetChannel::tot_segment, MovieClip::tracking, ARegion::v2d, rctf::xmax, and rctf::xmin.
Referenced by CLIP_OT_dopesheet_view_all().
Definition at line 32 of file clip_dopesheet_ops.c.
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().