diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-17 15:22:09 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-17 15:22:09 -0400 |
commit | ec102f94e1105a6c9f445a0cde6c2dd1b6ea4b8b (patch) | |
tree | 970d269534121d51960bc56a5d6092d88c6baf97 /gtk2_ardour/editor_drag.h | |
parent | 9727a2311100d87bba1ceac62e5a9e42e9420cd8 (diff) |
various work waveview amplitude mgmt; fix playhead cursor drag from timebar click
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 5c9f09d04e..7c9b3538e9 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -626,7 +626,7 @@ private: class CursorDrag : public Drag { public: - CursorDrag (Editor *, ArdourCanvas::Item *, bool); + CursorDrag (Editor *, EditorCursor&, bool); void start_grab (GdkEvent *, Gdk::Cursor* c = 0); void motion (GdkEvent *, bool); @@ -648,6 +648,7 @@ public: private: void fake_locate (framepos_t); + EditorCursor& _cursor; bool _stop; ///< true to stop the transport on starting the drag, otherwise false double _grab_zoom; ///< editor frames per unit when our grab started }; |