Blender  V3.3
action_intern.h
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 #pragma once
9 
10 struct ARegion;
11 struct ARegionType;
12 struct Object;
13 struct Scene;
14 struct SpaceAction;
15 struct bAnimContext;
16 struct bContext;
17 struct wmOperatorType;
18 
19 /* internal exports only */
20 
21 /* **************************************** */
22 /* space_action.c / action_buttons.c */
23 
25 
26 /* ***************************************** */
27 /* action_draw.c */
28 
32 void draw_channel_names(struct bContext *C, struct bAnimContext *ac, struct ARegion *region);
36 void draw_channel_strips(struct bAnimContext *ac,
37  struct SpaceAction *saction,
38  struct ARegion *region);
39 
40 void timeline_draw_cache(struct SpaceAction *saction, struct Object *ob, struct Scene *scene);
41 
42 /* ***************************************** */
43 /* action_select.c */
44 
55 
56 /* defines for left-right select tool */
61 };
62 
63 /* defines for column-select mode */
69 };
70 
71 /* ***************************************** */
72 /* action_edit.c */
73 
78 
79 void ACTION_OT_copy(struct wmOperatorType *ot);
80 void ACTION_OT_paste(struct wmOperatorType *ot);
81 
84 void ACTION_OT_delete(struct wmOperatorType *ot);
85 void ACTION_OT_clean(struct wmOperatorType *ot);
86 void ACTION_OT_sample(struct wmOperatorType *ot);
87 
93 
95 
96 void ACTION_OT_snap(struct wmOperatorType *ot);
97 void ACTION_OT_mirror(struct wmOperatorType *ot);
98 
99 void ACTION_OT_new(struct wmOperatorType *ot);
100 void ACTION_OT_unlink(struct wmOperatorType *ot);
101 
103 void ACTION_OT_stash(struct wmOperatorType *ot);
105 
108 
110 
111 /* defines for snap keyframes
112  * NOTE: keep in sync with eEditKeyframes_Snap (in ED_keyframes_edit.h)
113  */
119 };
120 
121 /* defines for mirror keyframes
122  * NOTE: keep in sync with eEditKeyframes_Mirror (in ED_keyframes_edit.h)
123  */
129 };
130 
131 /* ***************************************** */
132 /* action_ops.c */
133 
134 void action_operatortypes(void);
135 void action_keymap(struct wmKeyConfig *keyconf);
#define C
Definition: RandGen.cpp:25
void ACTION_OT_select_box(struct wmOperatorType *ot)
void ACTION_OT_clickselect(struct wmOperatorType *ot)
void action_keymap(struct wmKeyConfig *keyconf)
Definition: action_ops.c:94
void ACTION_OT_select_all(struct wmOperatorType *ot)
void action_buttons_register(struct ARegionType *art)
void ACTION_OT_view_all(struct wmOperatorType *ot)
Definition: action_edit.c:432
void ACTION_OT_select_circle(struct wmOperatorType *ot)
void action_operatortypes(void)
Definition: action_ops.c:25
void ACTION_OT_markers_make_local(struct wmOperatorType *ot)
Definition: action_edit.c:130
void ACTION_OT_keyframe_type(struct wmOperatorType *ot)
Definition: action_edit.c:1603
void ACTION_OT_previewrange_set(struct wmOperatorType *ot)
Definition: action_edit.c:280
void ACTION_OT_handle_type(struct wmOperatorType *ot)
Definition: action_edit.c:1515
void ACTION_OT_stash(struct wmOperatorType *ot)
Definition: action_data.c:413
void ACTION_OT_layer_prev(struct wmOperatorType *ot)
Definition: action_data.c:971
void ACTION_OT_push_down(struct wmOperatorType *ot)
Definition: action_data.c:358
void ACTION_OT_sample(struct wmOperatorType *ot)
Definition: action_edit.c:1195
void ACTION_OT_select_more(struct wmOperatorType *ot)
void ACTION_OT_mirror(struct wmOperatorType *ot)
Definition: action_edit.c:1955
void ACTION_OT_easing_type(struct wmOperatorType *ot)
Definition: action_edit.c:1428
void ACTION_OT_paste(struct wmOperatorType *ot)
Definition: action_edit.c:677
void ACTION_OT_interpolation_type(struct wmOperatorType *ot)
Definition: action_edit.c:1378
void ACTION_OT_keyframe_insert(struct wmOperatorType *ot)
Definition: action_edit.c:885
void ACTION_OT_select_column(struct wmOperatorType *ot)
void timeline_draw_cache(struct SpaceAction *saction, struct Object *ob, struct Scene *scene)
Definition: action_draw.c:609
void ACTION_OT_select_less(struct wmOperatorType *ot)
void draw_channel_names(struct bContext *C, struct bAnimContext *ac, struct ARegion *region)
Definition: action_draw.c:50
eActKeys_LeftRightSelect_Mode
Definition: action_intern.h:57
@ ACTKEYS_LRSEL_TEST
Definition: action_intern.h:58
@ ACTKEYS_LRSEL_LEFT
Definition: action_intern.h:59
@ ACTKEYS_LRSEL_RIGHT
Definition: action_intern.h:60
void ACTION_OT_clean(struct wmOperatorType *ot)
Definition: action_edit.c:1124
eActKeys_Snap_Mode
@ ACTKEYS_SNAP_NEAREST_FRAME
@ ACTKEYS_SNAP_NEAREST_SECOND
@ ACTKEYS_SNAP_CFRA
@ ACTKEYS_SNAP_NEAREST_MARKER
eActKeys_ColumnSelect_Mode
Definition: action_intern.h:64
@ ACTKEYS_COLUMNSEL_CFRA
Definition: action_intern.h:66
@ ACTKEYS_COLUMNSEL_MARKERS_BETWEEN
Definition: action_intern.h:68
@ ACTKEYS_COLUMNSEL_MARKERS_COLUMN
Definition: action_intern.h:67
@ ACTKEYS_COLUMNSEL_KEYS
Definition: action_intern.h:65
void ACTION_OT_duplicate(struct wmOperatorType *ot)
Definition: action_edit.c:965
void ACTION_OT_unlink(struct wmOperatorType *ot)
Definition: action_data.c:676
void draw_channel_strips(struct bAnimContext *ac, struct SpaceAction *saction, struct ARegion *region)
Definition: action_draw.c:165
void ACTION_OT_layer_next(struct wmOperatorType *ot)
Definition: action_data.c:872
void ACTION_OT_new(struct wmOperatorType *ot)
Definition: action_data.c:278
void ACTION_OT_select_lasso(struct wmOperatorType *ot)
void ACTION_OT_select_linked(struct wmOperatorType *ot)
void ACTION_OT_frame_jump(struct wmOperatorType *ot)
Definition: action_edit.c:1709
void ACTION_OT_view_frame(struct wmOperatorType *ot)
Definition: action_edit.c:472
eActKeys_Mirror_Mode
@ ACTKEYS_MIRROR_CFRA
@ ACTKEYS_MIRROR_MARKER
@ ACTKEYS_MIRROR_YAXIS
@ ACTKEYS_MIRROR_XAXIS
void ACTION_OT_copy(struct wmOperatorType *ot)
Definition: action_edit.c:583
void ACTION_OT_view_selected(struct wmOperatorType *ot)
Definition: action_edit.c:447
void ACTION_OT_stash_and_create(struct wmOperatorType *ot)
Definition: action_data.c:521
void ACTION_OT_delete(struct wmOperatorType *ot)
Definition: action_edit.c:1052
void ACTION_OT_select_leftright(struct wmOperatorType *ot)
void ACTION_OT_extrapolation_type(struct wmOperatorType *ot)
Definition: action_edit.c:1326
void ACTION_OT_snap(struct wmOperatorType *ot)
Definition: action_edit.c:1831
Scene scene
wmOperatorType * ot
Definition: wm_files.c:3479