4 // Automation point that takes floating point values
10 #include "floatautos.inc"
12 class FloatAuto
: public Auto
16 FloatAuto(EDL
*edl
, FloatAutos
*autos
);
19 int operator==(Auto
&that
);
20 int operator==(FloatAuto
&that
);
21 int identical(FloatAuto
*src
);
22 void copy_from(Auto
*that
);
23 void copy_from(FloatAuto
*that
);
24 void copy(int64_t start
, int64_t end
, FileXML
*file
, int default_only
);
25 void load(FileXML
*xml
);
27 float value_to_percentage();
28 float invalue_to_percentage();
29 float outvalue_to_percentage();
30 /* float percentage_to_value(float percentage);
31 * float percentage_to_invalue(float percentage);
32 * float percentage_to_outvalue(float percentage);
35 // Control values are relative to value
36 float value
, control_in_value
, control_out_value
;
37 // X control positions relative to value position for drawing.
38 // In native units of the track.
39 int64_t control_in_position
, control_out_position
;
42 int value_to_str(char *string
, float value
);
51 // c-file-style: "linux"