|
Blender
V2.93
|
#include <math.h>#include "MEM_guardedalloc.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BLI_blenlib.h"#include "BLI_math.h"#include "BLI_utildefines.h"#include "BLT_translation.h"#include "BKE_context.h"#include "BKE_fcurve.h"#include "BKE_idprop.h"#include "BKE_layer.h"#include "BKE_main.h"#include "BKE_report.h"#include "BKE_scene.h"#include "BKE_screen.h"#include "BKE_unit.h"#include "RNA_access.h"#include "RNA_define.h"#include "RNA_enum_types.h"#include "WM_api.h"#include "WM_types.h"#include "GPU_immediate.h"#include "GPU_matrix.h"#include "GPU_state.h"#include "UI_interface.h"#include "UI_interface_icons.h"#include "UI_resources.h"#include "UI_view2d.h"#include "ED_anim_api.h"#include "ED_markers.h"#include "ED_numinput.h"#include "ED_object.h"#include "ED_screen.h"#include "ED_select_utils.h"#include "ED_transform.h"#include "ED_types.h"#include "ED_util.h"#include "DEG_depsgraph.h"Go to the source code of this file.
Classes | |
| struct | MarkerMove |
Typedefs | |
| typedef struct MarkerMove | MarkerMove |
| typedef struct MarkerMove MarkerMove |
|
static |
Definition at line 291 of file anim_markers.c.
References BLI_addtail(), BLI_insertlinkbefore(), CfraElem::cfra, ListBase::first, TimeMarker::flag, TimeMarker::frame, MEM_callocN, CfraElem::next, CfraElem::sel, and SELECT.
Referenced by ED_markers_make_cfra_list().
Definition at line 78 of file anim_markers.c.
References SpaceAction::action, blender::compositor::area(), ELEM, SpaceAction::flag, if(), bAction::markers, Scene::markers, SpaceAction::mode, SACTCONT_ACTION, SACTCONT_SHAPEKEY, SACTION_POSEMARKERS_SHOW, scene, and SPACE_ACTION.
Referenced by ED_animcontext_get_markers(), and ED_context_get_markers().
| void debug_markers_print_list | ( | ListBase * | markers | ) |
Definition at line 400 of file anim_markers.c.
References TimeMarker::flag, TimeMarker::frame, markers, TimeMarker::name, TimeMarker::next, and NULL.
|
static |
Definition at line 1156 of file anim_markers.c.
References LISTBASE_FOREACH, markers, and SELECT.
Referenced by ed_marker_select(), and select_timeline_marker_frame().
|
static |
Definition at line 496 of file anim_markers.c.
References draw_marker_line(), draw_marker_name(), TimeMarker::flag, TimeMarker::frame, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, marker_color_get(), marker_get_icon_id(), SELECT, UI_DPI_FAC, UI_DPI_ICON_SIZE, and UI_icon_draw().
Referenced by ED_markers_draw().
|
static |
Definition at line 458 of file anim_markers.c.
References GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_LINES, GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR, GPU_vertformat_attr_add(), GPU_viewport_size_get_f(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniform1f(), immUniform1i(), immUniform2f(), immUniformColor4ubv(), immVertex2f(), immVertexFormat(), pos, and UI_DPI_FAC.
Referenced by draw_marker().
|
static |
Definition at line 433 of file anim_markers.c.
References TimeMarker::camera, copy_v4_v4_uchar(), Object::id, TimeMarker::name, ID::name, OB_RESTRICT_RENDER, Object::restrictflag, UI_DPI_ICON_SIZE, and UI_fontstyle_draw_simple().
Referenced by draw_marker().
|
static |
Definition at line 521 of file anim_markers.c.
References GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_SHADER_2D_UNIFORM_COLOR, GPU_vertformat_attr_add(), immBindBuiltinProgram(), immRectf(), immUnbindProgram(), immUniformColor4ubv(), immVertexFormat(), pos, TH_TIME_SCRUB_BACKGROUND, UI_GetThemeColor4ubv(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by ED_markers_draw().
| ListBase* ED_animcontext_get_markers | ( | const bAnimContext * | ac | ) |
Definition at line 109 of file anim_markers.c.
References bAnimContext::area, context_get_markers(), NULL, and bAnimContext::scene.
Referenced by actkeys_select_leftright().
Definition at line 103 of file anim_markers.c.
References C, context_get_markers(), CTX_data_scene(), and CTX_wm_area().
Referenced by act_markers_make_local_exec(), act_markers_make_local_poll(), ANIM_animdata_get_context(), ed_marker_add_exec(), ed_marker_box_select_exec(), ed_marker_box_select_invoke(), ed_marker_delete_exec(), ed_marker_duplicate_apply(), ed_marker_make_links_scene_exec(), ed_marker_move_init(), ed_marker_move_invoke(), ed_marker_rename_exec(), ed_marker_rename_invoke(), ed_marker_select(), ed_marker_select_all_exec(), ED_markers_draw(), ed_markers_poll_markers_exist(), ed_markers_poll_selected_markers(), ed_markers_poll_selected_no_locked_markers(), graphkeys_viewall(), and special_aftertrans_update__actedit().
| void ED_keymap_marker | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1718 of file anim_markers.c.
References WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
|
static |
Definition at line 664 of file anim_markers.c.
References BLI_addtail(), BLI_snprintf(), C, RenderData::cfra, CTX_data_scene(), ED_context_get_markers(), TimeMarker::flag, TimeMarker::frame, markers, MEM_callocN, TimeMarker::name, NC_ANIMATION, NC_SCENE, ND_MARKERS, TimeMarker::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, Scene::r, SELECT, and WM_event_add_notifier().
Referenced by MARKER_OT_add().
|
static |
Definition at line 1366 of file anim_markers.c.
References BLI_rctf_isect_x(), C, ED_context_get_markers(), ED_markers_deselect_all(), LISTBASE_FOREACH, markers, NC_ANIMATION, NC_SCENE, ND_MARKERS, NULL, wmOperator::ptr, RNA_enum_get(), SEL_DESELECT, SEL_OP_SUB, SEL_OP_USE_PRE_DESELECT, select(), SELECT, SET_FLAG_FROM_TEST, UI_view2d_fromcontext(), UI_view2d_region_to_view_rctf(), WM_event_add_notifier(), and WM_operator_properties_border_to_rctf().
Referenced by MARKER_OT_select_box().
|
static |
Definition at line 1350 of file anim_markers.c.
References C, CTX_wm_region(), ED_context_get_markers(), markers, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, wmOperator::ptr, region_position_is_over_marker(), RNA_boolean_get(), ARegion::v2d, ARegion::winrct, WM_gesture_box_invoke(), wmEvent::x, and rcti::xmin.
Referenced by MARKER_OT_select_box().
|
static |
Definition at line 1463 of file anim_markers.c.
References BLI_freelinkN(), C, ED_context_get_markers(), TimeMarker::flag, IDP_FreePropertyContent(), markers, MEM_freeN, NC_ANIMATION, NC_SCENE, ND_MARKERS, TimeMarker::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, TimeMarker::prop, SELECT, and WM_event_add_notifier().
Referenced by MARKER_OT_delete().
|
static |
Definition at line 1081 of file anim_markers.c.
References BLI_addhead(), BLI_strncpy(), C, TimeMarker::camera, ED_context_get_markers(), TimeMarker::flag, TimeMarker::frame, IDP_CopyProperty(), markers, MEM_callocN, TimeMarker::name, TimeMarker::next, NULL, TimeMarker::prop, and SELECT.
Referenced by ed_marker_duplicate_exec(), and ed_marker_duplicate_invoke().
|
static |
Definition at line 1119 of file anim_markers.c.
References C, ed_marker_duplicate_apply(), ed_marker_move_exec(), and OPERATOR_FINISHED.
Referenced by MARKER_OT_duplicate().
|
static |
Definition at line 1127 of file anim_markers.c.
References C, ed_marker_duplicate_apply(), and ed_marker_move_invoke().
Referenced by MARKER_OT_duplicate().
|
static |
Definition at line 1572 of file anim_markers.c.
References BKE_report(), BLI_addtail(), BLI_findlink(), C, CTX_data_main(), CTX_data_scene(), ED_context_get_markers(), TimeMarker::flag, ToolSettings::lock_markers, markers, Scene::markers, MEM_dupallocN, TimeMarker::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, TimeMarker::prev, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, Main::scenes, SELECT, and Scene::toolsettings.
Referenced by MARKER_OT_make_links_scene().
|
static |
Definition at line 901 of file anim_markers.c.
References Freestyle::a, BKE_scene_camera_switch_update(), BKE_screen_view3d_scene_sync(), C, Scene::camera, CTX_data_scene(), CTX_wm_screen(), wmOperator::customdata, ListBase::first, TimeMarker::flag, TimeMarker::frame, MarkerMove::markers, NA_EDITED, NC_ANIMATION, NC_SCENE, ND_MARKERS, TimeMarker::next, NULL, MarkerMove::oldframe, wmOperator::ptr, RNA_int_get(), scene, SELECT, and WM_event_add_notifier().
Referenced by ed_marker_move_cancel(), ed_marker_move_exec(), and ed_marker_move_modal().
|
static |
Definition at line 935 of file anim_markers.c.
References C, ed_marker_move_apply(), ed_marker_move_exit(), wmOperator::ptr, and RNA_int_set().
Referenced by ed_marker_move_modal(), MARKER_OT_duplicate(), and MARKER_OT_move().
|
static |
Definition at line 1028 of file anim_markers.c.
References C, ed_marker_move_apply(), ed_marker_move_exit(), ed_marker_move_init(), OPERATOR_FINISHED, and OPERATOR_PASS_THROUGH.
Referenced by ed_marker_duplicate_exec(), and MARKER_OT_move().
|
static |
Definition at line 852 of file anim_markers.c.
References C, CTX_wm_area(), wmOperator::customdata, ED_area_status_text(), MEM_freeN, NULL, and MarkerMove::oldframe.
Referenced by ed_marker_move_cancel(), ed_marker_move_exec(), and ed_marker_move_modal().
|
static |
Definition at line 807 of file anim_markers.c.
References Freestyle::a, B_UNIT_NONE, B_UNIT_TIME, C, CTX_data_scene(), CTX_wm_space_data(), wmOperator::customdata, ED_context_get_markers(), ed_marker_move_use_time(), TimeMarker::flag, TimeMarker::frame, NumInput::idx_max, initNumInput(), markers, MarkerMove::markers, MEM_callocN, TimeMarker::next, NULL, MarkerMove::num, NUM_NO_FRACTION, MarkerMove::oldframe, scene, SELECT, MarkerMove::slink, UnitSettings::system, Scene::unit, NumInput::unit_sys, NumInput::unit_type, and NumInput::val_flag.
Referenced by ed_marker_move_exec(), and ed_marker_move_invoke().
|
static |
Definition at line 865 of file anim_markers.c.
References C, CTX_wm_region(), wmOperator::customdata, ED_context_get_markers(), ed_marker_move_init(), ed_marker_move_update_header(), MarkerMove::event_type, MarkerMove::evtx, MarkerMove::firstx, markers, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmOperator::ptr, region_position_is_over_marker(), RNA_boolean_get(), RNA_int_set(), RNA_struct_find_property(), ARegion::v2d, ARegion::winrct, WM_event_add_modal_handler(), wmEvent::x, and rcti::xmin.
Referenced by ed_marker_duplicate_invoke(), and MARKER_OT_move().
|
static |
Definition at line 942 of file anim_markers.c.
References apply_keyb_grid(), applyNumInput(), ATTR_FALLTHROUGH, BLI_rctf_size_x(), BLI_rcti_size_x(), C, wmEvent::ctrl, CTX_data_scene(), View2D::cur, wmOperator::customdata, ed_marker_move_apply(), ed_marker_move_cancel(), ed_marker_move_exit(), ed_marker_move_update_header(), ed_marker_move_use_time(), MarkerMove::event_type, EVT_ESCKEY, EVT_PADENTER, EVT_RETKEY, MarkerMove::evtx, MarkerMove::firstx, float(), FPS, handleNumInput(), hasNumInput(), KM_PRESS, LEFTMOUSE, View2D::mask, MIDDLEMOUSE, MOUSEMOVE, NC_ANIMATION, NC_SCENE, ND_MARKERS, NULL, MarkerMove::num, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RIGHTMOUSE, RNA_int_get(), RNA_int_set(), scene, wmEvent::shift, TIME2FRA, wmEvent::type, UI_view2d_fromcontext(), wmEvent::val, WM_event_add_notifier(), WM_event_is_modal_tweak_exit(), and wmEvent::x.
Referenced by MARKER_OT_duplicate(), and MARKER_OT_move().
|
static |
Definition at line 760 of file anim_markers.c.
References BLI_snprintf(), C, CTX_data_scene(), CTX_wm_area(), wmOperator::customdata, ED_area_status_text(), ed_marker_move_use_time(), ListBase::first, TimeMarker::flag, FRA2TIME, TimeMarker::frame, hasNumInput(), MarkerMove::markers, TimeMarker::next, NULL, MarkerMove::num, NUM_STR_REP_LEN, outputNumInput(), wmOperator::ptr, RNA_int_get(), scene, SELECT, str, TIP_, UI_MAX_DRAW_STR, and Scene::unit.
Referenced by ed_marker_move_invoke(), and ed_marker_move_modal().
|
static |
Definition at line 746 of file anim_markers.c.
References SACTION_DRAWTIME, SEQ_DRAWFRAMES, SIPO_DRAWTIME, MarkerMove::slink, SNLA_DRAWTIME, SPACE_ACTION, SPACE_GRAPH, SPACE_NLA, SPACE_SEQ, and SpaceLink::spacetype.
Referenced by ed_marker_move_init(), ed_marker_move_modal(), and ed_marker_move_update_header().
|
static |
Definition at line 1512 of file anim_markers.c.
References C, ED_context_get_markers(), ED_markers_get_first_selected(), TimeMarker::name, NC_ANIMATION, NC_SCENE, ND_MARKERS, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get(), and WM_event_add_notifier().
Referenced by MARKER_OT_rename().
|
static |
Definition at line 1528 of file anim_markers.c.
References C, ED_context_get_markers(), ED_markers_get_first_selected(), TimeMarker::name, wmOperator::ptr, RNA_string_set(), and WM_operator_props_popup_confirm().
Referenced by MARKER_OT_rename().
|
static |
Definition at line 1253 of file anim_markers.c.
References C, deselect_markers(), ED_context_get_markers(), ED_markers_find_nearest_marker_time(), markers, NC_ANIMATION, NC_SCENE, ND_MARKERS, NULL, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, region_position_is_over_marker(), select_marker_camera_switch(), select_timeline_marker_frame(), UI_view2d_fromcontext(), UI_view2d_region_to_view_x(), and WM_event_add_notifier().
Referenced by ed_marker_select_exec().
|
static |
Definition at line 1426 of file anim_markers.c.
References C, ED_context_get_markers(), ED_markers_deselect_all(), markers, NC_ANIMATION, NC_SCENE, ND_MARKERS, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by MARKER_OT_select_all().
|
static |
Definition at line 1278 of file anim_markers.c.
References BKE_report(), C, CTX_data_mode_enum(), CTX_MODE_OBJECT, ed_marker_select(), wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_int_get(), and RPT_WARNING.
Referenced by MARKER_OT_select().
| void ED_markers_deselect_all | ( | ListBase * | markers, |
| int | action | ||
| ) |
Definition at line 354 of file anim_markers.c.
References BLI_assert, ED_markers_get_first_selected(), LISTBASE_FOREACH, markers, SEL_DESELECT, SEL_INVERT, SEL_SELECT, SEL_TOGGLE, and SELECT.
Referenced by ed_marker_box_select_exec(), and ed_marker_select_all_exec().
| void ED_markers_draw | ( | const bContext * | C, |
| int | flag | ||
| ) |
Definition at line 567 of file anim_markers.c.
References BLI_listbase_is_empty(), C, RenderData::cfra, CTX_data_scene(), CTX_wm_region(), draw_marker(), draw_markers_background(), ED_context_get_markers(), get_marker_clip_frame_range(), get_marker_region_rect(), GPU_matrix_pop(), GPU_matrix_push(), GPU_matrix_scale_2f(), LISTBASE_FOREACH, marker_is_in_frame_range(), markers, NULL, Scene::r, SELECT, UI_FSTYLE_WIDGET, UI_view2d_fromcontext(), UI_view2d_scale_get(), and ARegion::winy.
Referenced by action_main_region_draw(), draw_timeline_seq(), graph_main_region_draw(), and nla_main_region_draw().
| TimeMarker* ED_markers_find_nearest_marker | ( | ListBase * | markers, |
| float | x | ||
| ) |
Definition at line 173 of file anim_markers.c.
References fabsf, TimeMarker::frame, markers, TimeMarker::next, NULL, and x.
Referenced by ED_markers_find_nearest_marker_time(), and region_position_is_over_marker().
Definition at line 193 of file anim_markers.c.
References ED_markers_find_nearest_marker(), TimeMarker::frame, markers, round_fl_to_int(), and x.
Referenced by ed_marker_select(), flushTransGraphData(), gpencil_frame_snap_nearmarker(), nlaedit_snap_exec(), recalcData_nla(), snap_bezier_nearmarker(), snap_mask_layer_nearmarker(), and snapFrameTransform().
| TimeMarker* ED_markers_get_first_selected | ( | ListBase * | markers | ) |
Definition at line 379 of file anim_markers.c.
References TimeMarker::flag, markers, TimeMarker::next, NULL, and SELECT.
Referenced by act_markers_make_local_poll(), ed_marker_rename_exec(), ed_marker_rename_invoke(), ED_markers_deselect_all(), ed_markers_poll_selected_markers(), ed_markers_poll_selected_no_locked_markers(), gpencil_frame_mirror_marker(), mirror_action_keys(), and mirror_graph_keys().
Definition at line 199 of file anim_markers.c.
References ELEM, TimeMarker::flag, float(), TimeMarker::frame, markers, max, min, TimeMarker::next, NULL, and SELECT.
Referenced by markers_selectkeys_between().
Definition at line 330 of file anim_markers.c.
References add_marker_to_cfra_elem(), ListBase::first, ListBase::last, markers, TimeMarker::next, and NULL.
Referenced by columnselect_action_keys(), columnselect_graph_keys(), and pose_propagate_exec().
|
static |
Definition at line 648 of file anim_markers.c.
References C, CTX_data_tool_settings(), ED_context_get_markers(), ED_operator_markers_region_active(), ToolSettings::lock_markers, and markers.
Referenced by MARKER_OT_select(), MARKER_OT_select_all(), and MARKER_OT_select_box().
|
static |
Definition at line 622 of file anim_markers.c.
References C, ED_context_get_markers(), ED_markers_get_first_selected(), ED_operator_markers_region_active(), markers, and NULL.
Referenced by MARKER_OT_make_links_scene().
|
static |
Definition at line 634 of file anim_markers.c.
References C, CTX_data_tool_settings(), ED_context_get_markers(), ED_markers_get_first_selected(), ED_operator_markers_region_active(), ToolSettings::lock_markers, markers, and NULL.
Referenced by MARKER_OT_delete(), MARKER_OT_duplicate(), MARKER_OT_move(), and MARKER_OT_rename().
| int ED_markers_post_apply_transform | ( | ListBase * | markers, |
| Scene * | scene, | ||
| int | mode, | ||
| float | value, | ||
| char | side | ||
| ) |
Apply some transformation to markers after the fact
| markers | List of markers to affect - this may or may not be the scene markers list, so don't assume anything. |
| scene | Current scene (for getting current frame) |
| mode | (TfmMode) transform mode that this transform is for |
| value | From the transform code, this is t->vec[0] (which is delta transform for grab/extend, and scale factor for scale) |
| side | (B/L/R) for 'extend' functionality, which side of current frame to use |
Definition at line 130 of file anim_markers.c.
References CFRA, TimeMarker::flag, float(), TimeMarker::frame, ToolSettings::lock_markers, markers, TimeMarker::next, NULL, round_fl_to_int(), scene, SELECT, TFM_TIME_EXTEND, TFM_TIME_SCALE, TFM_TIME_TRANSLATE, and Scene::toolsettings.
Referenced by special_aftertrans_update__actedit(), and special_aftertrans_update__sequencer().
|
static |
Function used in operator polls, checks whether the markers region is currently drawn in the editor in which the operator is called.
Definition at line 234 of file anim_markers.c.
References blender::compositor::area(), C, CTX_wm_area(), SpaceAction::flag, SpaceGraph::flag, SpaceNla::flag, SpaceSeq::flag, SpaceGraph::mode, NULL, SACTION_SHOW_MARKERS, SEQ_SHOW_MARKERS, SIPO_MODE_DRIVERS, SIPO_SHOW_MARKERS, SNLA_SHOW_MARKERS, SPACE_ACTION, SPACE_GRAPH, SPACE_NLA, and SPACE_SEQ.
Referenced by ed_markers_poll_markers_exist(), ed_markers_poll_selected_markers(), ed_markers_poll_selected_no_locked_markers(), and MARKER_OT_add().
| void ED_operatortypes_marker | ( | void | ) |
Definition at line 1701 of file anim_markers.c.
References MARKER_OT_add(), MARKER_OT_delete(), MARKER_OT_duplicate(), MARKER_OT_make_links_scene(), MARKER_OT_move(), MARKER_OT_rename(), MARKER_OT_select(), MARKER_OT_select_all(), MARKER_OT_select_box(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
Definition at line 559 of file anim_markers.c.
References View2D::cur, NULL, UI_DPI_FAC, rctf::xmax, and rctf::xmin.
Referenced by ED_markers_draw().
Definition at line 551 of file anim_markers.c.
References View2D::cur, UI_MARKER_MARGIN_Y, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by ED_markers_draw().
|
static |
Definition at line 421 of file anim_markers.c.
References TimeMarker::flag, SELECT, TH_TEXT, TH_TEXT_HI, TH_TIME_MARKER_LINE, TH_TIME_MARKER_LINE_SELECTED, and UI_GetThemeColor4ubv().
Referenced by draw_marker().
|
static |
Definition at line 482 of file anim_markers.c.
References ACTIVE, TimeMarker::camera, DRAW_MARKERS_LOCAL, TimeMarker::flag, and SELECT.
Referenced by draw_marker().
|
static |
Definition at line 540 of file anim_markers.c.
References TimeMarker::frame.
Referenced by ED_markers_draw().
|
static |
Definition at line 699 of file anim_markers.c.
References wmOperatorType::description, ed_marker_add_exec(), ED_operator_markers_region_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1493 of file anim_markers.c.
References wmOperatorType::description, ed_marker_delete_exec(), ed_markers_poll_selected_no_locked_markers(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_confirm().
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1133 of file anim_markers.c.
References wmOperatorType::cancel, wmOperatorType::description, ed_marker_duplicate_exec(), ed_marker_duplicate_invoke(), ed_marker_move_cancel(), ed_marker_move_modal(), ed_markers_poll_selected_no_locked_markers(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1607 of file anim_markers.c.
References wmOperatorType::description, DummyRNA_NULL_items, ed_marker_make_links_scene_exec(), ed_markers_poll_selected_markers(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), RNA_scene_itemf(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1038 of file anim_markers.c.
References wmOperatorType::cancel, wmOperatorType::description, ed_marker_move_cancel(), ed_marker_move_exec(), ed_marker_move_invoke(), ed_marker_move_modal(), ed_markers_poll_selected_no_locked_markers(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_XY, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1539 of file anim_markers.c.
References wmOperatorType::description, ed_marker_rename_exec(), ed_marker_rename_invoke(), ed_markers_poll_selected_no_locked_markers(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_string(), and wmOperatorType::srna.
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1302 of file anim_markers.c.
References wmOperatorType::description, ed_marker_select_exec(), ed_markers_poll_markers_exist(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, WM_generic_select_invoke(), WM_generic_select_modal(), and WM_operator_properties_generic_select().
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1442 of file anim_markers.c.
References wmOperatorType::description, ed_marker_select_all_exec(), ed_markers_poll_markers_exist(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 1397 of file anim_markers.c.
References wmOperatorType::cancel, wmOperatorType::description, ed_marker_box_select_exec(), ed_marker_box_select_invoke(), ed_markers_poll_markers_exist(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, WM_gesture_box_cancel(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by ED_operatortypes_marker().
|
static |
Definition at line 274 of file anim_markers.c.
References BLI_listbase_is_empty(), ED_markers_find_nearest_marker(), fabsf, TimeMarker::frame, markers, NULL, UI_DPI_ICON_SIZE, UI_view2d_region_to_view_x(), and UI_view2d_scale_get_x().
Referenced by ed_marker_box_select_invoke(), ed_marker_move_invoke(), and ed_marker_select().
|
static |
Definition at line 1208 of file anim_markers.c.
References BKE_view_layer_base_deselect_all(), BKE_view_layer_base_find(), BLI_assert, C, TimeMarker::camera, CTX_data_mode_enum(), CTX_data_scene(), CTX_data_view_layer(), CTX_MODE_OBJECT, DEG_id_tag_update(), ED_object_base_activate(), ED_object_base_select(), TimeMarker::flag, TimeMarker::frame, Scene::id, ID_RECALC_SELECT, markers, NC_SCENE, ND_OB_SELECT, TimeMarker::next, scene, SELECT, and WM_event_add_notifier().
Referenced by ed_marker_select().
|
static |
Definition at line 1164 of file anim_markers.c.
References deselect_markers(), TimeMarker::flag, TimeMarker::frame, LISTBASE_CIRCULAR_FORWARD_BEGIN, LISTBASE_CIRCULAR_FORWARD_END, markers, TimeMarker::next, NULL, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, and SELECT.
Referenced by ed_marker_select().