// Clears active region in EDL.
// If clear_handle, edit boundaries are cleared if the range is 0.
// Called by paste, record, menueffects, render, and CWindow drop.
- void clear(int clear_handle);
+ void clear(int clear_handle, int deglitch);
void clear_labels();
int clear_labels(double start, double end);
void concatenate_tracks();
void copy();
int copy(double start, double end);
void cut();
+ void cut(double start, double end, double new_position=-1);
+// snap off edit from current position to handle/label
+ void snap_left_edit();
+ void snap_right_edit();
+ void snap_left_label();
+ void snap_right_label();
// Calculate aspect ratio from pixel counts
static int create_aspect_ratio(float &w, float &h, int width, int height);
int modify_edithandles();
int modify_pluginhandles();
void finish_modify_handles();
- void set_proxy(int new_scale,
- ArrayList<Indexable*> *orig_assets, ArrayList<Indexable*> *proxy_assets);
+ void set_proxy(int use_scaler, int new_scale, int auto_scale,
+ ArrayList<Indexable*> *orig_assets,
+ ArrayList<Indexable*> *proxy_assets);
+ void add_proxy(int use_scaler,
+ ArrayList<Indexable*> *orig_assets,
+ ArrayList<Indexable*> *proxy_assets);
+ void render_proxy(ArrayList<Indexable *> &new_idxbls);
void dump_plugins(FILE *fp=stdout);
void dump_edl(FILE *fp=stdout);