mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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
This commit is contained in:
parent
502361c001
commit
1dfee48139
2 changed files with 154 additions and 127 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue