shuttle keydef tweak, add copy_flags to copy edl, zoombar layout tweak
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / track.h
index bb1081e755f8d834c7532d5a91b0e6c70d0a2358..669b2db769cb9136b6df9cf62aa364c1d84de160 100644 (file)
@@ -155,7 +155,7 @@ public:
 
        virtual int copy_settings(Track *track);
        void shift_keyframes(int64_t position, int64_t length);
-       void shift_effects(int64_t position, int64_t length, int edit_autos);
+       void shift_effects(int64_t position, int64_t length, int edit_autos, Edits *trim_edits);
        void change_plugins(SharedLocation &old_location, SharedLocation &new_location, int do_swap);
        void change_modules(int old_location, int new_location, int do_swap);
        int plugin_exists(Plugin *plugin);
@@ -193,18 +193,19 @@ public:
        virtual int dump(FILE *fp);
 
 // ===================================== editing
-       int copy(double start, double end,
+       int copy(int copy_flags, double start, double end,
                FileXML *file, const char *output_path = "");
-       int copy_assets(double start,
-               double end,
-               ArrayList<Asset*> *asset_list);
+       int copy_assets(double start, double end, ArrayList<Asset*> *asset_list);
        virtual int copy_derived(int64_t start, int64_t end, FileXML *file) { return 0; };
        virtual int paste_derived(int64_t start, int64_t end,
                int64_t total_length, FileXML *file, int &current_channel) { return 0; };
        int blade(double position);
        int clear(double start, double end,
                int edit_edits, int edit_labels, int clear_plugins,
-               int edit_autos, int convert_units, Edits *trim_edits);
+               int edit_autos, Edits *trim_edits);
+       int clear(int64_t start, int64_t end,
+               int edit_edits, int edit_labels, int clear_plugins,
+               int edit_autos, Edits *trim_edits);
 // Returns the point to restart background rendering at.
 // -1 means nothing changed.
        void clear_automation(double selectionstart, double selectionend,
@@ -238,6 +239,7 @@ public:
                int clear_labels, int clear_plugins, int edit_autos,
                double &distance);
        int paste_silence(double start, double end, int edit_plugins, int edit_autos);
+       int paste_silence(int64_t start, int64_t end, int edit_plugins, int edit_autos);
        virtual int select_translation(int cursor_x, int cursor_y) { return 0; };  // select video coordinates for frame
        virtual int update_translation(int cursor_x, int cursor_y, int shift_down) { return 0; };  // move video coordinates
        int select_auto(AutoConf *auto_conf, int cursor_x, int cursor_y);
@@ -253,13 +255,9 @@ public:
        int popup_transition(int cursor_x, int cursor_y);
 
 // Return 1 if the left handle was selected 2 if the right handle was selected 3 if the track isn't recordable
-       int modify_edithandles(double oldposition,
-               double newposition,
-               int currentend,
-               int handle_mode,
-               int edit_labels,
-               int edit_plugins,
-               int edit_autos);
+       int modify_edithandles(double oldposition, double newposition,
+               int currentend, int handle_mode, int edit_labels,
+               int edit_plugins, int edit_autos, int group_id);
        int modify_pluginhandles(double oldposition,
                double newposition,
                int currentend,