X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fedl.h;h=6ec34c8ff51a513023adba55ae6b9fd8eb78a30f;hb=8dda42be9fa556f31e585eca361122730d7c3aa2;hp=5e184d22965f18bdd76545a315a5c4806971f8e0;hpb=c6016b2d08ac0fdda37ee6e1f59dadcfd4335388;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/edl.h b/cinelerra-5.1/cinelerra/edl.h index 5e184d22..6ec34c8f 100644 --- a/cinelerra-5.1/cinelerra/edl.h +++ b/cinelerra-5.1/cinelerra/edl.h @@ -97,8 +97,9 @@ public: double frame_align(double position, int round); // frame align if cursor alignment is enabled double align_to_frame(double position, int round); -// get position under cursor in pane +// get position under cursor in pane, and inverse double get_cursor_position(int cursor_x, int pane_no); + int64_t get_position_cursorx(double position, int pane_no); // increase track w/h to at least session w/h void retrack(); @@ -167,6 +168,9 @@ public: const char *get_folder_name(int no); int new_folder(const char *title, int is_clips); int delete_folder(const char *title); + void delete_edits(ArrayList*, int); + void delete_edit_labels(ArrayList *edits, int collapse); + void move_edit_labels(ArrayList *edits, double dist); void modify_edithandles(double oldposition, double newposition, @@ -223,6 +227,8 @@ public: int insert_clips(ArrayList *new_edls, int load_mode, Track *first_track = 0); // Add a copy of EDL* to the clip array. Returns the copy. EDL* add_clip(EDL *edl); +// resequence group ids starting at next_id + int regroup(int next_id); void get_shared_plugins(Track *source, ArrayList *plugin_locations, int omit_recordable, int data_type);