Age | Commit message (Collapse) | Author |
|
|
|
Previously it would be shown at the mouse cursor position even though the
Region is cut/split at the snap/quantize point if no motion occurred.
|
|
|
|
|
|
|
|
- amends d2d2308588e84
|
|
This is a common operation used for zooming in other DAWs like Ableton Live and
Cubase. To support such a usage pattern without changing the existing behaviour
of the ruler area I've made it an option that is false by default.
The behaviour of RulerDragZoom is intentionally different than a CursorDrag
that occurs in the rest of the ruler area in that it doesn't follow the snap to
grid setting and no locate related stuff occurs until button release.
There are some issues with responsiveness with more than a few hundred regions
or a large amount of MIDI events/notes.
Implements feature #6768
|
|
- the only object whose musical position is not expressed in
quarter notes is MetricSection.
there is now no need to expose this.
|
|
- a bit suboptimal. we really need the opposite of _trackview_only
to prevent jumping to track canvas scrolled coordinates in the first place.
|
|
modifier when beginning a drag.
|
|
this simplifies lua-bindings and also let's the compiler worry about
constant primitive types.
|
|
ctor.
|
|
- use exact beats to determine frame position.
- see comments in tempo.cc for more.
- this hasn't been done for split yet, but dragging and
trimming are supported.
|
|
- probably not what the user wants,
unless snapping beats to timecode frames.
|
|
|
|
|
|
- display prev tempo and tempo at mouse while dragging
- simplify ramp dilation somewhat.
|
|
|
|
constraint modifier dilates previous tempo.
|
|
|
|
tempo with vertical movement, incorporating beat constraint (if present).
- makes it easy to find suitable accelerandos for hit points in conjunction
with playhead position, beat-locked tempos and initial meter frame.
|
|
and tempo_at_beat().
|
|
- all a bit slow, but should be ok once we can lock
markers to frames.
|
|
- add_midi_region used to commit, resulting in
_region->set_position() adding a command when there was
no current transaction. The sub-bug here was that repeatedly
calling set_position() on the new region resulted in nonsensical
automation movement after the drag.
|
|
|
|
|
|
|
|
|
|
previously if some audio region was locked and locked to video,
the audio-region always stayed put and the video could only be
moved forward.
TODO: add an "unlock all" option.
|
|
Classes are in the global namespace.
OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
|
|
|
|
more than a dozen necessary fwd decls etc)
Conflicts:
gtk2_ardour/editor_drag.h
|
|
- fixes a crash when clicking on automation lines repeatedly.
|
|
- also make set_selected_control_point_from_click () return
something useful.
|
|
|
|
- also clean up, rename and comment some previous hanges.
|
|
|
|
|
|
- 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!
|
|
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
|
|
Disabled/enabled with the shift key. no config stuff at all now.
Move existing (strange) trim feature to primary + tertiary modifiers.
|
|
|
|
|
|
|
|
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
|
|
|
|
Ignore any routes or automation lanes during
region y-axis distance calculation.
|
|
Allow dragging multiple regions from multiple
tracks across any number of hidden tracks and
automation lanes.
fixes #6176 and #6172
|
|
|
|
|