X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftrackcanvas.h;h=59f58c308e7f90ab6a1600225d691803402422c4;hb=853407b57330e275b6c58432c678159b2eac00db;hp=61a88949930531bc685e1434c27bd231c5bf941e;hpb=3f6a262cfe390b3f8b275297d64565a5b6272969;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/trackcanvas.h b/cinelerra-5.1/cinelerra/trackcanvas.h index 61a88949..59f58c30 100644 --- a/cinelerra-5.1/cinelerra/trackcanvas.h +++ b/cinelerra-5.1/cinelerra/trackcanvas.h @@ -84,7 +84,8 @@ public: void draw_overlays(); void update_handles(); // Convert edit coords to transition coords - void get_transition_coords(int64_t &x, int64_t &y, int64_t &w, int64_t &h); + void get_transition_coords(Edit *edit, + int64_t &x, int64_t &y, int64_t &w, int64_t &h); void get_handle_coords(Edit *edit, int64_t &x, int64_t &y, @@ -328,6 +329,7 @@ public: int max_y); int button_press_event(); int button_release_event(); + int cursor_update(int in_motion); int cursor_motion_event(); int activate(); int deactivate(); @@ -350,6 +352,7 @@ public: double time_visible(); void update_drag_handle(); int update_drag_edit(); + int render_handle_frame(EDL *edl, int64_t pos, int mode); int update_drag_floatauto(int cursor_x, int cursor_y); int update_drag_toggleauto(int cursor_x, int cursor_y); int update_drag_auto(int cursor_x, int cursor_y); @@ -416,6 +419,7 @@ public: double selection_midpoint; // division between current ends int snapped; // drag handle snapping + EDL *speed_edl; // drag speed handle start edl }; #endif