mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
basic xfade dragging
git-svn-id: svn://localhost/ardour2/branches/3.0@12236 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
25655e1a6d
commit
e3a9576aed
5 changed files with 76 additions and 10 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue