r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / auto.h
blob56959e2be517241a2ba22ae3e7b36935e3101c57
1 #ifndef AUTO_H
2 #define AUTO_H
4 #include "auto.inc"
5 #include "edl.inc"
6 #include "guicast.h"
7 #include "filexml.inc"
8 #include "autos.inc"
15 // The default constructor is used for menu effects.
17 class Auto : public ListItem<Auto>
19 public:
20 Auto();
21 Auto(EDL *edl, Autos *autos);
22 virtual ~Auto() {};
24 virtual Auto& operator=(Auto &that);
25 virtual int operator==(Auto &that);
26 virtual void copy_from(Auto *that);
27 virtual void copy(int64_t start, int64_t end, FileXML *file, int default_only);
29 virtual void load(FileXML *file);
31 virtual void get_caption(char *string) {};
32 virtual float value_to_percentage();
33 virtual float invalue_to_percentage();
34 virtual float outvalue_to_percentage();
36 int skip; // if added by selection event for moves
37 EDL *edl;
38 Autos *autos;
39 int WIDTH, HEIGHT;
40 // Units native to the track
41 int is_default;
42 int64_t position;
44 private:
45 virtual int value_to_str(char *string, float value) {};
50 #endif