diff options
author | Robin Gareus <robin@gareus.org> | 2015-03-26 21:55:04 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-03-26 23:33:13 +0100 |
commit | 1dfee4813923f36401af771ee8731ec1ba3f20af (patch) | |
tree | c427bec4d4494dbe6f3397f184781f6a83533189 /gtk2_ardour/editor_drag.h | |
parent | 502361c00188d41f868e6460da7cc646c3013e9a (diff) |
Heuraka! Nightmarish rework of DnD code.
Allow to drag multiple regions from different tracks
to/from the dropzone.
Busses & Automation-lanes are ignored, as are
hidden tracks.
Any region may serve as mouse drag anchor.
fixes #6172 and #6176
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r-- | gtk2_ardour/editor_drag.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index ccfd58c714..e6f800cb52 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -296,6 +296,7 @@ protected: int _visible_y_low; int _visible_y_high; + uint32_t _ntracks; friend class DraggingView; @@ -335,6 +336,11 @@ protected: int _last_pointer_time_axis_view; double _last_pointer_layer; bool _single_axis; + +private: + uint32_t _ndropzone; + uint32_t _pdropzone; + uint32_t _ddropzone; }; |