prevent popup deactivation while button_down
[goodguy/history.git] / cinelerra-5.0 / cinelerra / tracksedit.C
index 31e535ac90f576b5f43619ea1a40b22ee41546a2..0fa3b75a6e9ec8b523d3208ebbee7841f8c05774 100644 (file)
@@ -130,6 +130,23 @@ void Tracks::shuffle_edits(double start, double end)
        }
 }
 
+void Tracks::reverse_edits(double start, double end)
+{
+// This doesn't affect automation or effects
+// Labels follow the first track.
+       int first_track = 1;
+       for(Track *current_track = first; 
+               current_track; 
+               current_track = current_track->next)
+       {
+               if(current_track->record)
+               {
+                       current_track->reverse_edits(start, end, first_track);
+
+                       first_track = 0;
+               }
+       }
+}
 void Tracks::align_edits(double start, double end)
 {
 // This doesn't affect automation or effects