Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

auto.h

Go to the documentation of this file.
00001 #ifndef AUTO_H
00002 #define AUTO_H
00003 
00004 #include "auto.inc"
00005 #include "edl.inc"
00006 #include "guicast.h"
00007 #include "filexml.inc"
00008 #include "autos.inc"
00009 
00010 
00011 
00012 
00013 
00014 
00015 // The default constructor is used for menu effects.
00016 
00017 class Auto : public ListItem<Auto>
00018 {
00019 public:
00020         Auto();
00021         Auto(EDL *edl, Autos *autos);
00022         virtual ~Auto() {};
00023 
00024         virtual Auto& operator=(Auto &that);
00025         virtual int operator==(Auto &that);
00026         virtual void copy_from(Auto *that);
00027         /* for interpolation creation */
00028         /* if not possible, copy from a1 and return 0*/         
00029         virtual int interpolate_from(Auto *a1, Auto *a2, int64_t position); 
00030         virtual void copy(int64_t start, int64_t end, FileXML *file, int default_only);
00031 
00032         virtual void load(FileXML *file);
00033 
00034         virtual void get_caption(char *string) {};
00035 
00036         virtual float value_to_percentage();
00037         virtual float invalue_to_percentage();
00038         virtual float outvalue_to_percentage();
00039 
00040 
00041         int skip;       // if added by selection event for moves
00042         EDL *edl;
00043         Autos *autos;
00044         int WIDTH, HEIGHT;
00045 // Units native to the track
00046         int is_default;
00047         int64_t position;
00048 
00049 private:
00050         virtual int value_to_str(char *string, float value) {};
00051 };
00052 
00053 
00054 
00055 #endif

Generated on Sun Jan 8 13:38:50 2006 for Cinelerra-svn by  doxygen 1.4.4