r1014: Enable horizontal scrolling with the mouse wheel by pressing Ctrl.
[cinelerra_cv/ct.git] / cinelerra / atrack.h
blob8f1e3ba5a07ef71de7f57e484ddbde85695fcff0
1 #ifndef ATRACK_H
2 #define ATRACK_H
4 #include "arraylist.h"
5 #include "autoconf.inc"
6 #include "edl.inc"
7 #include "filexml.inc"
8 #include "floatautos.inc"
9 #include "linklist.h"
10 #include "maxchannels.h"
11 #include "panautos.inc"
12 #include "track.h"
17 class ATrack : public Track
19 public:
20 ATrack(EDL *edl, Tracks *tracks);
21 ATrack() { };
22 ~ATrack();
24 int create_objects();
25 int load_defaults(BC_Hash *defaults);
26 void set_default_title();
27 PluginSet* new_plugins();
28 int vertical_span(Theme *theme);
29 int save_header(FileXML *file);
30 int save_derived(FileXML *file);
31 int load_header(FileXML *file, uint32_t load_flags);
32 int load_derived(FileXML *file, uint32_t load_flags);
33 int copy_settings(Track *track);
34 int identical(int64_t sample1, int64_t sample2);
35 void synchronize_params(Track *track);
36 int64_t to_units(double position, int round);
37 double to_doubleunits(double position);
38 double from_units(int64_t position);
47 // ====================================== initialization
48 int create_derived_objs(int flash);
53 // ===================================== editing
54 int paste_derived(int64_t start, int64_t end, int64_t total_length, FileXML *xml, int &current_channel);
57 int modify_handles(int64_t oldposition, int64_t newposition, int currentend);
59 int64_t length();
60 int get_dimensions(double &view_start,
61 double &view_units,
62 double &zoom_units);
65 #endif