diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-12 14:28:44 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-13 16:21:57 -0500 |
commit | 456374c99564f7e1eefcf8572e6180ee01ef9b27 (patch) | |
tree | 21091e9c1df089eb043f1309bb8615812aa67768 /gtk2_ardour/editor_drag.h | |
parent | 994dff91a263b038b3d5990e727b93d0dbdb9d9c (diff) |
implement axis-limited dragging
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index ce983cf4f2..ce2ac1ca16 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -178,6 +178,10 @@ public: return true; } + bool initially_vertical() const { + return _initially_vertical; + } + /** Set up the _pointer_frame_offset */ virtual void setup_pointer_frame_offset () { _pointer_frame_offset = 0; @@ -330,6 +334,7 @@ protected: double _total_x_delta; int _last_pointer_time_axis_view; double _last_pointer_layer; + bool _single_axis; }; |