r1053: Add Russian translation.
[cinelerra_cv.git] / cinelerra / auto.h
blob47a6ce2c32d667ccd31c214bdf3b69b3f0d8c21b
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 /* for interpolation creation */
28 /* if not possible, copy from a1 and return 0*/
29 virtual int interpolate_from(Auto *a1, Auto *a2, int64_t position);
30 virtual void copy(int64_t start, int64_t end, FileXML *file, int default_only);
32 virtual void load(FileXML *file);
34 virtual void get_caption(char *string) {};
36 virtual float value_to_percentage();
37 virtual float invalue_to_percentage();
38 virtual float outvalue_to_percentage();
41 int skip; // if added by selection event for moves
42 EDL *edl;
43 Autos *autos;
44 int WIDTH, HEIGHT;
45 // Units native to the track
46 int is_default;
47 int64_t position;
49 private:
50 virtual int value_to_str(char *string, float value) {};
55 #endif