X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindow.h;h=a7bd7e3d507f38f2df50479d3045ebee65fa6a71;hb=d84cde299ca545b6c5db1998a151884984213b0f;hp=2ada7db3b9ec2ebe55d25d517fd118565ce332e4;hpb=2f1bbd12877daf745e1d18b62b731f04cece827e;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/mwindow.h b/cinelerra-5.1/cinelerra/mwindow.h index 2ada7db3..a7bd7e3d 100644 --- a/cinelerra-5.1/cinelerra/mwindow.h +++ b/cinelerra-5.1/cinelerra/mwindow.h @@ -316,13 +316,19 @@ public: // 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);