X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftracks.h;h=b7cd63aca94ad8df1336e2eed6466e64cf50435b;hp=22baa7b0c118c2c2fb02acb6a11366c0e980ffea;hb=6050493632cb3681227b7ec8c12decd449dcf66f;hpb=ee1879b1a1850e1d4e19c034d4a9c5459274bbb6 diff --git a/cinelerra-5.1/cinelerra/tracks.h b/cinelerra-5.1/cinelerra/tracks.h index 22baa7b0..b7cd63ac 100644 --- a/cinelerra-5.1/cinelerra/tracks.h +++ b/cinelerra-5.1/cinelerra/tracks.h @@ -49,24 +49,20 @@ public: int load(FileXML *xml, int &track_offset, uint32_t load_flags); - void move_edits(ArrayList *edits, - Track *track, - double position, - int edit_labels, - int edit_plugins, - int edit_autos, - int behaviour); - void move_effect(Plugin *plugin, - Track *track, - int64_t position); - void move_effect(Plugin *plugin, - PluginSet *plugin_set, - int64_t position); + void move_edits(ArrayList *edits, Track *track, double position, + int edit_labels, int edit_plugins, int edit_autos, int mode); + void move_group(EDL *group, Track *first_track, double position, int overwrite); + void move_effect(Plugin *plugin, Track *track, int64_t position); + void move_effect(Plugin *plugin, PluginSet *plugin_set, int64_t position); // Construct a list of all the recordable edits which start on position void clear_selected_edits(); - void select_affected_edits(double position, Track *start_track); + void select_affected_edits(double position, Track *start_track, int sense); void get_selected_edits(ArrayList *drag_edits); + int next_group_id(); + int new_group(int id); + int set_group_selected(int id, int v); + int del_group(int id); void get_automation_extents(float *min, float *max, @@ -164,18 +160,10 @@ public: void copy_from(Tracks *tracks); // ================================== EDL editing - int copy(double start, - double end, - int all, - FileXML *file, - const char *output_path = ""); - + int copy(int copy_flags, double start, double end, + FileXML *file, const char *output_path = ""); - - int copy_assets(FileXML *xml, - double start, - double end, - int all); + int copy_assets(int copy_flags, FileXML *xml, double start, double end); int blade(double position); int clear(double start, double end, int clear_plugins, int edit_autos); void clear_automation(double selectionstart, @@ -221,13 +209,9 @@ public: int popup_transition(int cursor_x, int cursor_y); int select_auto(int cursor_x, int cursor_y); int move_auto(int cursor_x, int cursor_y, int shift_down); - 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,