diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-07-07 07:05:27 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-07-07 07:05:44 -0400 |
commit | 779fe6c08291a2c041ec9558c5351c23de576238 (patch) | |
tree | f65bef43069a5453a4503df3e4c9d2cd5db4d0b4 /gtk2_ardour/editor_drag.h | |
parent | 7ec397c0198674de782bfac083e59e3dc8390eb7 (diff) |
add functionality for cut tool
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index d9eda5685a..b704b0f357 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -440,6 +440,16 @@ private: }; +/** "Drag" to cut a region (action only on button release) */ +class RegionCutDrag : public Drag +{ + public: + RegionCutDrag (Editor*, ArdourCanvas::Item*); + void motion (GdkEvent*, bool); + void finished (GdkEvent*, bool); + void aborted (bool); +}; + /** Drags to create regions */ class RegionCreateDrag : public Drag { |