Blender  V3.3
sequencer_ops.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2008 Blender Foundation. All rights reserved. */
3 
8 #include <math.h>
9 #include <stdlib.h>
10 
11 #include "DNA_space_types.h"
12 
13 #include "WM_api.h"
14 #include "WM_types.h"
15 
16 #include "ED_sequencer.h"
17 
18 #include "sequencer_intern.h"
19 
20 /* ************************** registration **********************************/
21 
23 {
24  /* sequencer_edit.c */
42 
50 
52 
55 
62 
66 
69 
70  /* sequencer_select.c */
82 
83  /* sequencer_add.c */
92 
93  /* sequencer_modifiers.c */
98 
99  /* sequencer_view.h */
107 
108  /* sequencer_channels_edit.c */
110 }
111 
113 {
114  /* Common items ------------------------------------------------------------------ */
115  WM_keymap_ensure(keyconf, "SequencerCommon", SPACE_SEQ, 0);
116 
117  /* Strips Region --------------------------------------------------------------- */
118  WM_keymap_ensure(keyconf, "Sequencer", SPACE_SEQ, 0);
119 
120  /* Preview Region ----------------------------------------------------------- */
121  WM_keymap_ensure(keyconf, "SequencerPreview", SPACE_SEQ, 0);
122 
123  /* Channels Region ----------------------------------------------------------- */
124  WM_keymap_ensure(keyconf, "Sequencer Channels", SPACE_SEQ, 0);
125 }
126 
128 {
130 
131  ot = WM_operatortype_append_macro("SEQUENCER_OT_duplicate_move",
132  "Duplicate Strips",
133  "Duplicate selected strips and move them",
135 
136  WM_operatortype_macro_define(ot, "SEQUENCER_OT_duplicate");
137  WM_operatortype_macro_define(ot, "TRANSFORM_OT_seq_slide");
138 }
@ SPACE_SEQ
@ OPTYPE_UNDO
Definition: WM_types.h:148
@ OPTYPE_REGISTER
Definition: WM_types.h:146
void SEQUENCER_OT_mask_strip_add(struct wmOperatorType *ot)
void SEQUENCER_OT_scene_strip_add_new(struct wmOperatorType *ot)
void SEQUENCER_OT_scene_strip_add(struct wmOperatorType *ot)
void SEQUENCER_OT_movie_strip_add(struct wmOperatorType *ot)
void SEQUENCER_OT_effect_strip_add(struct wmOperatorType *ot)
void SEQUENCER_OT_movieclip_strip_add(struct wmOperatorType *ot)
void SEQUENCER_OT_image_strip_add(struct wmOperatorType *ot)
void SEQUENCER_OT_sound_strip_add(struct wmOperatorType *ot)
void SEQUENCER_OT_rename_channel(struct wmOperatorType *ot)
void SEQUENCER_OT_strip_color_tag_set(struct wmOperatorType *ot)
void SEQUENCER_OT_copy(wmOperatorType *ot)
void SEQUENCER_OT_delete(wmOperatorType *ot)
void SEQUENCER_OT_rendersize(wmOperatorType *ot)
void SEQUENCER_OT_unmute(struct wmOperatorType *ot)
void SEQUENCER_OT_snap(struct wmOperatorType *ot)
void SEQUENCER_OT_reassign_inputs(struct wmOperatorType *ot)
void SEQUENCER_OT_gap_insert(struct wmOperatorType *ot)
void SEQUENCER_OT_mute(struct wmOperatorType *ot)
void SEQUENCER_OT_export_subtitles(struct wmOperatorType *ot)
void SEQUENCER_OT_swap_data(wmOperatorType *ot)
void SEQUENCER_OT_slip(struct wmOperatorType *ot)
void SEQUENCER_OT_strip_transform_clear(struct wmOperatorType *ot)
void SEQUENCER_OT_images_separate(wmOperatorType *ot)
void SEQUENCER_OT_change_effect_type(struct wmOperatorType *ot)
void SEQUENCER_OT_offset_clear(wmOperatorType *ot)
void SEQUENCER_OT_gap_remove(struct wmOperatorType *ot)
void SEQUENCER_OT_meta_make(wmOperatorType *ot)
void SEQUENCER_OT_split(struct wmOperatorType *ot)
void SEQUENCER_OT_unlock(struct wmOperatorType *ot)
void SEQUENCER_OT_duplicate(wmOperatorType *ot)
void SEQUENCER_OT_set_range_to_strips(struct wmOperatorType *ot)
void SEQUENCER_OT_lock(struct wmOperatorType *ot)
void SEQUENCER_OT_swap(wmOperatorType *ot)
void SEQUENCER_OT_paste(wmOperatorType *ot)
void SEQUENCER_OT_change_effect_input(struct wmOperatorType *ot)
void SEQUENCER_OT_meta_toggle(wmOperatorType *ot)
void SEQUENCER_OT_refresh_all(struct wmOperatorType *ot)
void SEQUENCER_OT_change_path(struct wmOperatorType *ot)
void SEQUENCER_OT_change_scene(struct wmOperatorType *ot)
void SEQUENCER_OT_cursor_set(wmOperatorType *ot)
void SEQUENCER_OT_strip_jump(wmOperatorType *ot)
void SEQUENCER_OT_meta_separate(wmOperatorType *ot)
void SEQUENCER_OT_strip_transform_fit(struct wmOperatorType *ot)
void SEQUENCER_OT_reload(struct wmOperatorType *ot)
void SEQUENCER_OT_swap_inputs(struct wmOperatorType *ot)
void SEQUENCER_OT_select_handles(struct wmOperatorType *ot)
void SEQUENCER_OT_strip_modifier_remove(struct wmOperatorType *ot)
void SEQUENCER_OT_select_linked_pick(struct wmOperatorType *ot)
void SEQUENCER_OT_view_frame(struct wmOperatorType *ot)
void SEQUENCER_OT_select_side_of_frame(struct wmOperatorType *ot)
void SEQUENCER_OT_view_all(struct wmOperatorType *ot)
void SEQUENCER_OT_select_more(struct wmOperatorType *ot)
void SEQUENCER_OT_select_less(struct wmOperatorType *ot)
void SEQUENCER_OT_view_all_preview(struct wmOperatorType *ot)
void SEQUENCER_OT_view_ghost_border(struct wmOperatorType *ot)
void SEQUENCER_OT_select_all(struct wmOperatorType *ot)
void SEQUENCER_OT_view_selected(struct wmOperatorType *ot)
void SEQUENCER_OT_select_grouped(struct wmOperatorType *ot)
void SEQUENCER_OT_select(struct wmOperatorType *ot)
void SEQUENCER_OT_sample(struct wmOperatorType *ot)
void SEQUENCER_OT_strip_modifier_add(struct wmOperatorType *ot)
void SEQUENCER_OT_rebuild_proxy(struct wmOperatorType *ot)
void SEQUENCER_OT_select_box(struct wmOperatorType *ot)
void SEQUENCER_OT_select_side(struct wmOperatorType *ot)
void SEQUENCER_OT_select_linked(struct wmOperatorType *ot)
void SEQUENCER_OT_enable_proxies(struct wmOperatorType *ot)
void SEQUENCER_OT_strip_modifier_move(struct wmOperatorType *ot)
void SEQUENCER_OT_view_zoom_ratio(struct wmOperatorType *ot)
void SEQUENCER_OT_strip_modifier_copy(struct wmOperatorType *ot)
void ED_operatormacros_sequencer(void)
void sequencer_operatortypes(void)
Definition: sequencer_ops.c:22
void sequencer_keymap(wmKeyConfig *keyconf)
wmOperatorType * ot
Definition: wm_files.c:3479
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
Definition: wm_keymap.c:852
wmOperatorType * WM_operatortype_append_macro(const char *idname, const char *name, const char *description, int flag)
wmOperatorTypeMacro * WM_operatortype_macro_define(wmOperatorType *ot, const char *idname)
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))