X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedl.h;h=2cd5de8db1e54580d92608c70fcd83741d90d816;hb=7995a2d831a88199bfce4c7caa9d16b214f6781b;hp=8a96155e1933338cc11d3a83e80dacf29f019745;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/edl.h b/cinelerra-5.1/cinelerra/edl.h index 8a96155e..2cd5de8d 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(); @@ -204,6 +205,7 @@ public: int edit_labels /* = 1 */, int edit_plugins, int edit_autos); + int in_use(Indexable *indexable); void remove_from_project(ArrayList *assets); void remove_from_project(ArrayList *clips); int blade(double position); @@ -222,6 +224,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); @@ -262,6 +266,7 @@ public: void add_proxy(int use_scaler, ArrayList *orig_assets, ArrayList *proxy_assets); Asset *get_proxy_asset(); + Track *add_new_track(int data_type); // Titles of all subfolders BinFolders folders;