diff options
-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: |