X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fautos.h;h=b4162e5426dcc927c3fe705ca55dab97b6a5ae35;hb=6ec5ee267320df640586b6c93814562d0d250194;hp=2e841bfd4cb44611668366bb746bd4c128526253;hpb=47f71d004db08fb289428240fb87ce97c64382d2;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/autos.h b/cinelerra-5.1/cinelerra/autos.h index 2e841bfd..b4162e54 100644 --- a/cinelerra-5.1/cinelerra/autos.h +++ b/cinelerra-5.1/cinelerra/autos.h @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -61,6 +62,7 @@ public: int auto_exists_for_editing(double position); // Returns auto at exact position, null if non-existent. ignores autokeyframming and align on frames Auto* get_auto_at_position(double position = -1); + Auto* get_auto(int id); // Get keyframe for editing with creation // create: <0: always new keyframe, =0: no new keyframe, >0: auto keyframe @@ -116,7 +118,7 @@ public: - int clear_all(); + void clear_all(); int insert(int64_t start, int64_t end); int paste_silence(int64_t start, int64_t end); // Copy for keyframe clipboard & drag & drop