diff options
author | Carl Hetherington <carl@carlh.net> | 2010-02-07 03:23:20 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-02-07 03:23:20 +0000 |
commit | 3ae1bd3723448deaa73cc189b16a814970f608eb (patch) | |
tree | ecc2db4018c660dacdfa609092f9acf19d2c9488 /gtk2_ardour/editor_drag.h | |
parent | 9daf5b81218f8fa1bfeb8b3070f24ad5d20e5278 (diff) |
Remove my attempts to autoscroll based on dragged region edges (rather than just pointer position); too many corner cases and not really worth the bother.
git-svn-id: svn://localhost/ardour2/branches/3.0@6645 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 119bcc34b1..fb66a2c746 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -56,7 +56,6 @@ public: void start_grab (GdkEvent *); bool end_grab (GdkEvent *); bool have_item (ArdourCanvas::Item *) const; - std::pair<nframes64_t, nframes64_t> extent () const; /** @return true if an end drag or break_drag is in progress */ bool ending () const { @@ -165,11 +164,6 @@ public: return true; } - /** @return current x extent of the thing being dragged; ie - * a pair of (leftmost_position, rightmost_position) - */ - virtual std::pair<nframes64_t, nframes64_t> extent () const; - protected: double grab_x () const { @@ -224,8 +218,6 @@ public: RegionDrag (Editor *, ArdourCanvas::Item *, RegionView *, std::list<RegionView*> const &); virtual ~RegionDrag () {} - virtual std::pair<nframes64_t, nframes64_t> extent () const; - protected: RegionView* _primary; ///< the view that was clicked on (or whatever) to start the drag @@ -412,8 +404,6 @@ public: return false; } - std::pair<nframes64_t, nframes64_t> extent () const; - private: Operation _operation; |