Separate is an Editor action (like Delete), not a Region action.
[ardour.git] / gtk2_ardour / editor_drag.h
index bc30486b584094774f1d0c4c3a28416b07f958d3..f235881d035287376d7bcabd1ce77d828f3b8b6a 100644 (file)
@@ -502,6 +502,7 @@ class RegionCutDrag : public Drag
        RegionCutDrag (Editor*, ArdourCanvas::Item*, framepos_t);
        ~RegionCutDrag ();
 
+       void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
        void motion (GdkEvent*, bool);
        void finished (GdkEvent*, bool);
        void aborted (bool);
@@ -630,6 +631,9 @@ private:
        }
 
        MidiRegionView* _region_view;
+       framepos_t      _last_pos;
+       double          _last_y;
+
 };
 
 /** Drag to move MIDI patch changes */