switch move/swap tracks, add mv trk shortcut, update msg
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / labels.h
index 2983926b0e8d35282ddaff621b9699e17e4fd635..e648de5a2ed5b9da44d5aa5824dcde57ebb6120a 100644 (file)
@@ -60,6 +60,7 @@ public:
        char textstr[BCTEXTLEN];
 // Seconds
        double position;
+       int id, orig_id;
 };
 
 class Labels : public List<Label>
@@ -83,11 +84,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 +99,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;