#include <stdint.h>
#include "canvas.h"
+#include "editor_items.h"
+
#include <ardour/types.h>
namespace ARDOUR {
struct DragInfo {
ArdourCanvas::Item* item;
+ ItemType item_type;
void* data;
- jack_nframes_t last_frame_position;
+ nframes_t last_frame_position;
int32_t pointer_frame_offset;
- jack_nframes_t grab_frame;
- jack_nframes_t last_pointer_frame;
- jack_nframes_t current_pointer_frame;
+ nframes_t grab_frame;
+ nframes_t last_pointer_frame;
+ nframes_t current_pointer_frame;
double grab_x, grab_y;
double cumulative_x_drag;
double cumulative_y_drag;
bool copy;
bool was_rolling;
bool first_move;
- bool move_threshold_passsed;
+ bool move_threshold_passed;
bool want_move_threshold;
bool brushing;
ARDOUR::Location* copied_location;