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();
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<Edit*>*, int);
+ void delete_edit_labels(ArrayList<Edit*> *edits, int collapse);
+ void move_edit_labels(ArrayList<Edit*> *edits, double dist);
- void modify_edithandles(double oldposition,
- double newposition,
- int currentend,
- int handle_mode,
- int edit_labels,
- int edit_plugins,
- int edit_autos);
+ void modify_edithandles(double oldposition, double newposition,
+ int currentend, int handle_mode, int edit_labels,
+ int edit_plugins, int edit_autos, int group_id);
- void modify_pluginhandles(double oldposition,
- double newposition,
- int currentend,
- int handle_mode,
- int edit_labels,
- int edit_autos,
- Edits *trim_edits);
-
- int trim_selection(double start,
- double end,
- int edit_labels,
- int edit_plugins,
- int edit_autos);
+ void modify_pluginhandles(double oldposition, double newposition,
+ int currentend, int handle_mode, int edit_labels,
+ int edit_autos, Edits *trim_edits);
+
+ int trim_selection(double start, double end,
+ int edit_labels, int edit_plugins, int edit_autos);
// Editing functions
int copy_assets(double start, double end,
int edit_labels /* = 1 */,
int edit_plugins,
int edit_autos);
+ int in_use(Indexable *indexable);
void remove_from_project(ArrayList<Indexable*> *assets);
void remove_from_project(ArrayList<EDL*> *clips);
int blade(double position);
int insert_clips(ArrayList<EDL*> *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<SharedLocation*> *plugin_locations,
int omit_recordable, int data_type);
void add_proxy(int use_scaler,
ArrayList<Indexable*> *orig_assets, ArrayList<Indexable*> *proxy_assets);
Asset *get_proxy_asset();
+ Track *add_new_track(int data_type);
// Titles of all subfolders
BinFolders folders;