Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_keyframes_edit.h
| Show All 22 Lines | |||||
| #ifndef __ED_KEYFRAMES_EDIT_H__ | #ifndef __ED_KEYFRAMES_EDIT_H__ | ||||
| #define __ED_KEYFRAMES_EDIT_H__ | #define __ED_KEYFRAMES_EDIT_H__ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include "ED_anim_api.h" /* for enum eAnimFilter_Flags */ | |||||
| struct BezTriple; | struct BezTriple; | ||||
| struct FCurve; | struct FCurve; | ||||
| struct Scene; | struct Scene; | ||||
| struct bAnimContext; | struct bAnimContext; | ||||
| struct bAnimListElem; | struct bAnimListElem; | ||||
| struct bDopeSheet; | struct bDopeSheet; | ||||
| /* ************************************************ */ | /* ************************************************ */ | ||||
| ▲ Show 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | |||||
| short ANIM_animchanneldata_keyframes_loop(KeyframeEditData *ked, | short ANIM_animchanneldata_keyframes_loop(KeyframeEditData *ked, | ||||
| struct bDopeSheet *ads, | struct bDopeSheet *ads, | ||||
| void *data, | void *data, | ||||
| int keytype, | int keytype, | ||||
| KeyframeEditFunc key_ok, | KeyframeEditFunc key_ok, | ||||
| KeyframeEditFunc key_cb, | KeyframeEditFunc key_cb, | ||||
| FcuEditFunc fcu_cb); | FcuEditFunc fcu_cb); | ||||
| /* Calls callback_fn() for each keyframe in each fcurve in the filtered animation context. | |||||
| * Assumes the callback updates keys. */ | |||||
| void ANIM_animdata_keyframe_callback(struct bAnimContext *ac, | |||||
| eAnimFilter_Flags filter, | |||||
| KeyframeEditFunc callback_fn); | |||||
| /* functions for making sure all keyframes are in good order */ | /* functions for making sure all keyframes are in good order */ | ||||
| void ANIM_editkeyframes_refresh(struct bAnimContext *ac); | void ANIM_editkeyframes_refresh(struct bAnimContext *ac); | ||||
| /* ----------- BezTriple Callback Getters ---------- */ | /* ----------- BezTriple Callback Getters ---------- */ | ||||
| /* accessories */ | /* accessories */ | ||||
| KeyframeEditFunc ANIM_editkeyframes_ok(short mode); | KeyframeEditFunc ANIM_editkeyframes_ok(short mode); | ||||
| ▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines | |||||