diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-10 01:23:53 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-10 01:23:53 +0000 |
commit | 41eedb1f6385c6b433b56c0c403591ba07b9470c (patch) | |
tree | 7fcc1fe08a6b8c4dbc5b64b840c30ba7a9725a0d /gtk2_ardour/editor_drag.h | |
parent | a77aa6fce844ccd16c41c4925800dc0270c7eaa8 (diff) |
Fix drag of region gain control points and lines.
git-svn-id: svn://localhost/ardour2/branches/3.0@5149 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 370cc56643..5d5a2dc7e7 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -397,6 +397,10 @@ public: void motion (GdkEvent *, bool); void finished (GdkEvent *, bool); + bool active (Editing::MouseMode m) { + return (m == Editing::MouseGain); + } + private: ControlPoint* _point; @@ -414,6 +418,10 @@ public: void start_grab (GdkEvent *, Gdk::Cursor* c = 0); void motion (GdkEvent *, bool); void finished (GdkEvent *, bool); + + bool active (Editing::MouseMode) { + return true; + } private: |