double to_doubleunits(double position);
double from_units(int64_t position);
- void calculate_input_transfer(int asset_w,
- int asset_h,
- int64_t position,
- int direction,
- float &in_x,
- float &in_y,
- float &in_w,
- float &in_h,
- float &out_x,
- float &out_y,
- float &out_w,
- float &out_h);
+ void calculate_input_transfer(int asset_w, int asset_h,
+ int64_t position, int direction,
+ float &in_x, float &in_y, float &in_w, float &in_h,
+ float &out_x, float &out_y, float &out_w, float &out_h);
void calculate_output_transfer(int64_t position, int direction,
float &in_x, float &in_y, float &in_w, float &in_h,
// ====================================== initialization
- VTrack() {};
int create_derived_objs(int flash);
int draw_floating_autos_derived(float view_start, float zoom_units, AutoConf *auto_conf, int flash);
int select_auto_derived(float zoom_units, float view_start, AutoConf *auto_conf, int cursor_x, int cursor_y);
int move_auto_derived(float zoom_units, float view_start, AutoConf *auto_conf, int cursor_x, int cursor_y, int shift_down);
- void translate(float offset_x, float offset_y, int do_camera);
+ void set_fauto_xy(int fauto, float x, float y);
+ void translate(int fauto, float dx, float dy, int all);
// ===================================== for handles, titles, etc