X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fkeyframes.h;fp=cinelerra-5.1%2Fcinelerra%2Fkeyframes.h;h=45a453338734c1a280bf718ae4d1c4d014214442;hp=89fa24353746b998f2ae979b1f9c1bbe13dd7112;hb=096e197a21d85fa8c60547cd54944fb379c08bb9;hpb=8565f9650b0f5c8d922bcbc001fbc9aed8cd9d56;ds=sidebyside diff --git a/cinelerra-5.1/cinelerra/keyframes.h b/cinelerra-5.1/cinelerra/keyframes.h index 89fa2435..45a45333 100644 --- a/cinelerra-5.1/cinelerra/keyframes.h +++ b/cinelerra-5.1/cinelerra/keyframes.h @@ -28,6 +28,7 @@ #include "autos.h" #include "filexml.inc" #include "keyframe.inc" +#include "plugin.inc" // Keyframes inherit from Autos to reuse the editing commands but @@ -38,7 +39,7 @@ class KeyFrames : public Autos { public: - KeyFrames(EDL *edl, Track *track); + KeyFrames(EDL *edl, Plugin *plugin); ~KeyFrames(); // Get keyframes for editing with automatic creation if enabled. @@ -46,14 +47,7 @@ public: virtual KeyFrame* get_keyframe(); // Get the previous, first, or default keyframe depending on how many keyframes // exist. - KeyFrame* get_prev_keyframe(int64_t position, - int direction); - -// Keyframe updates using rules. -// If a range is selected, the changed parameter is copied to all -// the keyframes. -// If no range is selected, a keyframe is created based on auto keyframe rules. - void update_parameter(KeyFrame *src); + KeyFrame* get_prev_keyframe(int64_t position, int direction); Auto* new_auto(); void dump(FILE *fp=stdout);