Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-12-27 14:44:00 +0300
committerJoshua Leung <aligorith@gmail.com>2008-12-27 14:44:00 +0300
commit86886cbc55c036af44833fd861cfd276fbec256a (patch)
treea78d4c9ad57668c7dd15539858963a5bed0af65f /source/blender/editors/space_action/action_intern.h
parent032adf70d9a839d99e1b80a97adc710a2b2d1b7d (diff)
2.5 - Action Editor
* Started porting back keyframe editing tools for the Action Editor/Dopesheet. Currently, only Snap (Shift-S) and Mirror (Shift-M) are functional. * Added keyframe-editing API method for ensuring that all IPO-curves are left in a valid state after modifiying the values of their keyframes. * Added operator-register flags for most of the operators. Only mouse-select doesn't have it for now (as there's not much useful info stored, and no exec callback).
Diffstat (limited to 'source/blender/editors/space_action/action_intern.h')
-rw-r--r--source/blender/editors/space_action/action_intern.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_intern.h b/source/blender/editors/space_action/action_intern.h
index 27d8ada37ac..7719bf4ba34 100644
--- a/source/blender/editors/space_action/action_intern.h
+++ b/source/blender/editors/space_action/action_intern.h
@@ -48,6 +48,7 @@ void action_header_buttons(const struct bContext *C, struct ARegion *ar);
/* ***************************************** */
/* action_select.c */
+
void ACT_OT_keyframes_deselectall(struct wmOperatorType *ot);
void ACT_OT_keyframes_borderselect(struct wmOperatorType *ot);
void ACT_OT_keyframes_columnselect(struct wmOperatorType *ot);
@@ -70,6 +71,32 @@ enum {
} eActKeys_ColumnSelect_Mode;
/* ***************************************** */
+/* action_edit_keyframes.c */
+
+void ACT_OT_keyframes_snap(struct wmOperatorType *ot);
+void ACT_OT_keyframes_mirror(struct wmOperatorType *ot);
+
+/* defines for snap keyframes
+ * NOTE: keep in sync with eEditKeyframes_Snap (in ED_keyframes_edit.h)
+ */
+enum {
+ ACTKEYS_SNAP_CFRA = 1,
+ ACTKEYS_SNAP_NEAREST_FRAME,
+ ACTKEYS_SNAP_NEAREST_SECOND,
+ ACTKEYS_SNAP_NEAREST_MARKER,
+} eActKeys_Snap_Mode;
+
+/* defines for mirror keyframes
+ * NOTE: keep in sync with eEditKeyframes_Mirror (in ED_keyframes_edit.h)
+ */
+enum {
+ ACTKEYS_MIRROR_CFRA = 1,
+ ACTKEYS_MIRROR_YAXIS,
+ ACTKEYS_MIRROR_XAXIS,
+ ACTKEYS_MIRROR_MARKER,
+} eActKeys_Mirror_Mode;
+
+/* ***************************************** */
/* action_ops.c */
void action_operatortypes(void);
void action_keymap(struct wmWindowManager *wm);