r999: maintainers added to README_en.
[cinelerra_cv/mob.git] / cinelerra / auto.C
blob7910b1ff12eb560e373f9b6daa123b7371b2444f
1 #include "auto.h"
2 #include "autos.h"
3 #include "filexml.h"
5 Auto::Auto()
6  : ListItem<Auto>()
8         this->edl = 0;
9         this->autos = 0;
10         position = 0;
11         skip = 0;
12         WIDTH = 10;
13         HEIGHT = 10;
14         is_default = 0;
17 Auto::Auto(EDL *edl, Autos *autos)
18  : ListItem<Auto>()
20         this->edl = edl;
21         this->autos = autos;
22         position = 0;
23         skip = 0;
24         WIDTH = 10;
25         HEIGHT = 10;
26         is_default = 0;
29 Auto& Auto::operator=(Auto& that)
31         copy_from(&that);
32         return *this;
35 int Auto::operator==(Auto &that)
37         printf("Auto::operator== called\n");
38         return 0;
41 void Auto::copy(int64_t start, int64_t end, FileXML *file, int default_only)
43         printf("Auto::copy called\n");
46 void Auto::copy_from(Auto *that)
48         this->position = that->position;
51 int Auto::interpolate_from(Auto *a1, Auto *a2, int64_t position)
53         copy_from(a1);
54         return 0;
57 void Auto::load(FileXML *xml)
59         printf("Auto::load\n");
64 float Auto::value_to_percentage()
66         return 0;
69 float Auto::invalue_to_percentage()
71         return 0;
74 float Auto::outvalue_to_percentage()
76         return 0;