00001 #include "auto.h" 00002 #include "autos.h" 00003 #include "filexml.h" 00004 00005 Auto::Auto() 00006 : ListItem<Auto>() 00007 { 00008 this->edl = 0; 00009 this->autos = 0; 00010 position = 0; 00011 skip = 0; 00012 WIDTH = 10; 00013 HEIGHT = 10; 00014 is_default = 0; 00015 } 00016 00017 Auto::Auto(EDL *edl, Autos *autos) 00018 : ListItem<Auto>() 00019 { 00020 this->edl = edl; 00021 this->autos = autos; 00022 position = 0; 00023 skip = 0; 00024 WIDTH = 10; 00025 HEIGHT = 10; 00026 is_default = 0; 00027 } 00028 00029 Auto& Auto::operator=(Auto& that) 00030 { 00031 copy_from(&that); 00032 return *this; 00033 } 00034 00035 int Auto::operator==(Auto &that) 00036 { 00037 printf("Auto::operator== called\n"); 00038 return 0; 00039 } 00040 00041 void Auto::copy(int64_t start, int64_t end, FileXML *file, int default_only) 00042 { 00043 printf("Auto::copy called\n"); 00044 } 00045 00046 void Auto::copy_from(Auto *that) 00047 { 00048 this->position = that->position; 00049 } 00050 00051 int Auto::interpolate_from(Auto *a1, Auto *a2, int64_t position) 00052 { 00053 copy_from(a1); 00054 return 0; 00055 } 00056 00057 void Auto::load(FileXML *xml) 00058 { 00059 printf("Auto::load\n"); 00060 } 00061 00062 00063 00064 float Auto::value_to_percentage() 00065 { 00066 return 0; 00067 } 00068 00069 float Auto::invalue_to_percentage() 00070 { 00071 return 0; 00072 } 00073 00074 float Auto::outvalue_to_percentage() 00075 { 00076 return 0; 00077 } 00078
1.4.4