Add GUI support to extract and open session-archives
[ardour.git] / gtk2_ardour / editor_drag.h
index 8c5fce6e070a2d05534b422885613daeff021e18..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,7 +631,9 @@ private:
        }
 
        MidiRegionView* _region_view;
-       double _y;
+       framepos_t      _last_pos;
+       double          _last_y;
+
 };
 
 /** Drag to move MIDI patch changes */