1 #ifndef __gtk2_ardour_drag_info_h_
2 #define __gtk2_ardour_drag_info_h_
8 #include "editor_items.h"
10 #include <ardour/types.h>
20 ArdourCanvas::Item* item;
23 nframes_t last_frame_position;
24 int32_t pointer_frame_offset;
26 nframes_t last_pointer_frame;
27 nframes_t current_pointer_frame;
28 double grab_x, grab_y;
29 double cumulative_x_drag;
30 double cumulative_y_drag;
31 double current_pointer_x;
32 double current_pointer_y;
33 void (Editor::*motion_callback)(ArdourCanvas::Item*, GdkEvent*);
34 void (Editor::*finished_callback)(ArdourCanvas::Item*, GdkEvent*);
35 TimeAxisView* last_trackview;
41 bool move_threshold_passed;
42 bool want_move_threshold;
44 ARDOUR::Location* copied_location;
52 #endif /* __gtk2_ardour_drag_info_h_ */