{
public:
Track(EDL *edl, Tracks *tracks);
- Track();
virtual ~Track();
void create_objects();
double edl_length);
void shuffle_edits(double start, double end, int first_track);
void reverse_edits(double start, double end, int first_track);
- void align_edits(double start, double end, ArrayList<double> *times);
+ void align_edits(double start, double end, Track *master_track);
// Optimize editing
void optimize();
int is_muted(int64_t position, int direction); // Test muting status
// Called by playable tracks to test for playable server.
// Descends the plugin tree without creating a virtual console.
// Used by PlayableTracks::is_playable.
- int is_synthesis(int64_t position, int direction);
+ int is_synthesis(int64_t position, int direction, int depth=0);
// Used by PlayableTracks::is_playable
// Returns 1 if the track is in the output boundaries.
void shift_effects(int64_t position, int64_t length, int edit_autos, Edits *trim_edits);
void change_plugins(SharedLocation &old_location, SharedLocation &new_location, int do_swap);
void change_modules(int old_location, int new_location, int do_swap);
- int plugin_exists(Plugin *plugin);
+ Plugin *plugin_exists(int plugin_id);
EDL *edl;
Tracks *tracks;
// Vertical offset from top of timeline
int y_pixel;
+// Vertical height of the track asset
+ int data_h;
int expand_view;
int draw;
// There is some debate on whether to expand gang from faders to