summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.cc
AgeCommit message (Collapse)Author
2015-06-11Magnetic snap now works on note moves / resizes.nick_m
2015-06-11Make absolute snap the default snap.nick_m
- also fixes a couple of absolute snap bugs wrt midi notes.
2015-05-23Clarify the convention on modifiers and drags.nick_m
2015-05-23Proper initialisation of _x/y_constrained.nick_m
2015-05-23Bring back contrained drag modifier with preference setting.nick_m
- this should work as before, but when applied to a button 1 drag, the constraint is in the first direction travelled.
2015-05-23Fix inverted logic of SnapOff with snap modifiers pressed.nick_m
- also clean up, rename and comment some previous hanges.
2015-05-22Make note drags and resizes obey the disable sanp modifier.nick_m
2015-05-22Small cleanupnick_m
2015-05-22More cleanupnick_m
- remove "no_magnets" ugh.
2015-05-22Clean up a bit - should be a no-opnick_m
2015-05-22Fix up modifier behaviournick_m
- its now possible to use snap modifiers in combination with others afaict this hasn't worked for some time. - use "contains" rather than "equals" during drag. Still uncertain about this wrt beginning a drag. for now they are all "equals". - probably solve the "snap modifier modifier" problem using ArdourKeyboard::indicates_snap () and friend.
2015-05-21Move ui-centric modifiers into ArdourKeyboard, set some bad defaults.nick_m
- Also makes "Mod4" Appear as "Windows" and adds new combination "Alt-Windows" to the dropdown. - Attempt to set a pair of default snap modifiers (without knowing what it actually is for OSX) - Copy modifier now saves - Snap modifier modifier problem still remains.
2015-05-21Allow all drag -related modifiers to be set, re-instate "jump after trim"nick_m
- Copy modifier still doesn't save - Testers please edit the Extra section of ~/.ardourN/config to allow defaults to "take" - Note that the current defaults overlap. - warning - absolute snap modifier has no default and will be always "on" unless you set it!
2015-05-20Add more modifier preferences.nick_m
Note that no defaults are set - go to prefs->user interaction to ensure that nothing is set to "no modifer" also - the copy modifier doesn't actually save its state yet.
2015-05-19Revert to old Lock mode (still called Lock).nick_m
Also make midi notes obey the snap delta modifire
2015-05-18"Lock" mode is now "Constrained", make snap absolute modifier configurable.nick_m
- user can abs/rel modifier key in prefs->user interaction suggested for linux - absolute->alt ignore snap->alt-shift - Constrained mode works the same as button 2 drag (initial move sets constraint axis).
2015-05-18Relative snap now always on - disabled with Tertiary modifier (shift)nick_m
2015-05-18Clean up drag modifiers.nick_m
Button 2 drag now is constrained to initial move axis, removing all modifiers from this op. Remove Jump after trim mode. TrimDrag now has: Primary for trim anchored to fade. Secondary for contents trim (as before) Primary & Tertiary for "non overlap" trim All drags have Tertiary for relative snap
2015-05-17Relative Snap -make it activated by the tertiary modifier during drag.nick_m
Disabled/enabled with the shift key. no config stuff at all now. Move existing (strange) trim feature to primary + tertiary modifiers.
2015-05-17Relative snap - support magnetic mode (hackishly for now)nick_m
2015-05-17Cleanup relative snap code.nick_m
2015-05-16Fix typo.nick_m
2015-05-16Revert incorrect region_length() definition.nick_m
2015-05-16Relative snapnick_m
2015-03-29remove a dead variable initialization.Robin Gareus
2015-03-27it would have been too much of a good thing.Robin Gareus
2015-03-27dropzone: honor AutoConnectMaster.Robin Gareus
2015-03-27fix some DnD thinko & edgecases.Robin Gareus
* Handle large (delta > 1) movements into the DZ which are not due to invalid-drop positions, but caused by laggy GUI or rapid user movements. * ignore busses when moving out of the DZ.
2015-03-27fix a few -Wsign-compareRobin Gareus
2015-03-27Another DnD fix. fix move onto (but not over) busses.Robin Gareus
2015-03-26Heuraka! Nightmarish rework of DnD code.Robin Gareus
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
2015-03-26DnD: query mouse y-pos only once.Robin Gareus
2015-03-25remove crufty variableBen Loftis
2015-03-25fix dropzone region orderingRobin Gareus
2015-03-25DnD, only use track relationshipRobin Gareus
Ignore any routes or automation lanes during region y-axis distance calculation.
2015-03-25jot down some thoughts about drop-zone dragging.Robin Gareus
2015-03-25fix drags crossing automation lanes.Robin Gareus
2015-03-25Fix some strings incorrectly marked for translation.nick_m
My apologies to translators.
2015-03-25two more drop zone checksRobin Gareus
see also 6cfb6ef
2015-03-25fix drop-zone dropsRobin Gareus
There is no special ‘-1’ indicator any more. i->time_axis_view is unbound to allow relative positioning when dragging multiple regions.
2015-03-25Major rework of DnD.Robin Gareus
Allow dragging multiple regions from multiple tracks across any number of hidden tracks and automation lanes. fixes #6176 and #6172
2015-03-24partial fix for Canvas Region DnD & commentsRobin Gareus
Fixes #6172 and #6176 for single region drags. Further work is needed if multiple regions on different tracks are dragged over hidden tracks (see inline comment).
2015-03-15Fix dragging regions to/from drop zone (#6137).David Robillard
The previous code assumed that dragging up from the drop zone into the last track is always valid. This is not true when the type of the dragged region(s) do not match that route, which resulted in a crash and/or bizarre behaviour. This took entirely too long to figure out, there are some real nightmares in the region drag code...
2015-03-08fix drag-motion over TAV w/o view()Robin Gareus
2015-02-18stop dragged regions moving to the dropzone during autoscrolling towards the ↵Paul Davis
top track
2015-02-16fixes for non-overlapping fade in/out even in regions not at zeroPaul Davis
2015-02-13insanely complex fixes for dragging to and from the drop zone.Paul Davis
This probably breaks some of ardour's functionality (e.g. layered mode), but seems to be either just right or very close to it for tracks Conflicts: gtk2_ardour/editor_routes.cc
2015-02-13fix up recent cherry-picks from waves' tracksPaul Davis
2015-02-13prevent fade in/fade out on audio regions from overlapping each otherPaul Davis
2015-02-13implement axis-limited draggingPaul Davis