Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / labels.h
index 2983926b0e8d35282ddaff621b9699e17e4fd635..72103089a648d002718659d582603d5d1f2b07e4 100644 (file)
@@ -2,6 +2,7 @@
 /*
  * CINELERRA
  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -60,6 +61,7 @@ public:
        char textstr[BCTEXTLEN];
 // Seconds
        double position;
+       int id, orig_id;
 };
 
 class Labels : public List<Label>
@@ -83,11 +85,7 @@ public:
 // Always add label without toggling
        void insert_label(double position);
 
-       int modify_handles(double oldposition,
-               double newposition,
-               int currentend,
-               int handle_mode,
-               int edit_labels);
+       int modify_handles(double oldposition, double newposition, int currentend);
        int copy(double start, double end, FileXML *xml);
        int copy_length(long start, long end); // return number of Labels in selection
        Label *add_label(double position);
@@ -102,6 +100,7 @@ public:
 // Get nearest labels or 0 if start or end of timeline
        Label* prev_label(double position);
        Label* next_label(double position);
+       Label* get_label(int id);
 
        Label* label_of(double position); // first label on or after position
        TimeBar *timebar;