basic xfade dragging

git-svn-id: svn://localhost/ardour2/branches/3.0@12236 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-05-10 00:46:22 +00:00
parent 25655e1a6d
commit e3a9576aed
5 changed files with 76 additions and 10 deletions

View file

@ -985,10 +985,14 @@ class CrossfadeEdgeDrag : public Drag
void finished (GdkEvent*, bool);
void aborted (bool);
bool x_movement_matters () const {
bool y_movement_matters () const {
return false;
}
virtual std::pair<ARDOUR::framecnt_t, int> move_threshold () const {
return std::make_pair (1, 1);
}
private:
AudioRegionView* arv;
bool start;