add new boxblur plugin, mods to videoscope, fix segv for menu btns kfrm-tweak/kfrm...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / tracks.h
index abcc0af4bc7ece7be125b10494a404c3067da7f4..88a96e484e39767725cc1cdbc1fe8057bb8ea9e3 100644 (file)
@@ -58,6 +58,7 @@ public:
 // Construct a list of all the recordable edits which start on position
        void clear_selected_edits();
        void select_affected_edits(double position, Track *start_track, int sense);
+       int clear_hard_edges(double start, double end);
        void get_selected_edits(ArrayList<Edit*> *drag_edits);
        int next_group_id();
        int new_group(int id);
@@ -80,7 +81,7 @@ public:
        void paste_video_transition(PluginServer *server, int first_track = 0);
 
 // Only tests effects
-       int plugin_exists(Plugin *plugin);
+       Plugin *plugin_exists(int plugin_id);
        int track_exists(Track *track);
 
        void paste_transition(PluginServer *server, Edit *dest_edit);
@@ -100,10 +101,16 @@ public:
 // Update y pixels after a zoom
        void update_y_pixels(Theme *theme);
 // Total number of tracks where the following toggles are selected
-       void select_all(int type,
-               int value);
-       void translate_projector(float offset_x, float offset_y);
-               int total_of(int type);
+       void select_all(int type, int value);
+
+       void translate_fauto_xy(int fauto, float dx, float dy, int all);
+       void translate_projector(float dx, float dy, int all=0);
+       void translate_camera(float dx, float dy, int all=0);
+       void crop_resize(float x, float y, float z);
+       void crop_shrink(float x, float y, float z);
+
+       int total_of(int type);
+       Track* get_track_by_id(int id);
 // add a track
        Track* add_audio_track(int above, Track *dst_track);
        Track* add_video_track(int above, Track *dst_track);
@@ -160,18 +167,10 @@ public:
        void copy_from(Tracks *tracks);
 
 // ================================== EDL editing
-       int copy(double start,
-               double end,
-               int all,
-               FileXML *file,
-               const char *output_path = "");
+       int copy(int copy_flags, double start, double end,
+               FileXML *file, const char *output_path = "");
 
-
-
-       int copy_assets(FileXML *xml,
-               double start,
-               double end,
-               int all);
+       int copy_assets(int copy_flags, FileXML *xml, double start, double end);
        int blade(double position);
        int clear(double start, double end, int clear_plugins, int edit_autos);
        void clear_automation(double selectionstart,