Paul Davis
0162d3f9d6
GUI changes to *try* to adapt to a world without explicit beats<->samples converter objects (i.e. use AutomationLine::get_origin() instead
2021-08-13 12:51:34 -06:00
Paul Davis
6536655a0a
add explanatory comment
2021-08-13 12:51:34 -06:00
Paul Davis
21e6f1cf50
(mostly) fix note drag creation drawing
2021-08-13 12:51:34 -06:00
Paul Davis
b66b98ce58
remove 2 more NUTEMPO warnings by use Editor::default_time_domain() appropriately (but perhaps without enough user control)
2021-08-13 12:51:34 -06:00
Paul Davis
39f52cd3ce
remove unused and unnecessary Drag::snap_delta_music() code
2021-08-13 12:51:34 -06:00
Paul Davis
cb66ae496c
don't even pretend to use non-modal dialog API for the BBT marker dialog
2021-08-13 12:51:34 -06:00
Paul Davis
d4f52498fa
somewhat working dialog for BBT/Position marker creation
2021-08-13 12:51:34 -06:00
Paul Davis
4911779157
manual fixups after a rebase against master
2021-08-13 12:51:34 -06:00
Paul Davis
432fbe984a
make "add BBT marker" test case use 3|1|0 for better testing
2021-08-13 12:51:34 -06:00
Paul Davis
2445081dcc
remove another NUTEMPO #warning - this one was just unnecessary concern
2021-08-13 12:51:34 -06:00
Paul Davis
0f67dbf8cc
remove another NUTEMPO #warning - use time domain of region's track for content trim dragging
2021-08-13 12:51:34 -06:00
Paul Davis
18fba5dece
whitespace adjustments
2021-08-13 12:51:33 -06:00
Paul Davis
fe352311f6
make shift-leftclick on bbt ruler set that time to be 3|2|0 (experiment - GUI dialog to follow)
2021-08-13 12:51:33 -06:00
Paul Davis
c22c8ed69f
get TempoMarkerDrag and BBTRulerDrag to compile
2021-08-13 12:51:33 -06:00
Paul Davis
c5c14e2416
remove two nutempo #warnings - initialize timecnt_t() using timedomain of route with first selected region (ripple dragging)
2021-08-13 12:51:33 -06:00
Paul Davis
0114059c9d
nutempo warning removal
2021-08-13 12:51:33 -06:00
Paul Davis
125c20e148
manual fixups for recent rebase conflicts left in the wrong state (GUI edition)
2021-08-13 12:51:33 -06:00
Paul Davis
42c74932a5
fixes/improvements for meter marker drags
2021-08-13 12:51:32 -06:00
Paul Davis
b0725a8ab9
use new TempoMap::abort_update() API when drag does not end in map update
2021-08-13 12:51:32 -06:00
Paul Davis
eaedcd79d4
fix a bunch of undo-able tempo map operations to use RCU
2021-08-13 12:51:32 -06:00
Paul Davis
06f93e65b2
fix timefx to use ratio_t from the beginning of the operation
2021-08-13 12:51:32 -06:00
Paul Davis
dee71c0a97
mostly fix region- and note-create drags
2021-08-13 12:51:32 -06:00
Paul Davis
fa759d3507
fix direction for trim drags
2021-08-13 12:51:31 -06:00
Paul Davis
9412130c01
use cleaned up Temporal ::quarters*_at* API (GUI edition)
2021-08-13 12:51:31 -06:00
Paul Davis
0093ae07b0
cleanup after timecnt_t API changed (GUI edition)
2021-08-13 12:51:31 -06:00
Paul Davis
cce695d33a
changes required by fixing ambiguities in timepos_t/timecnt_t API (GUI edition)
2021-08-13 12:51:31 -06:00
Paul Davis
18d64f0402
change all Region::nt_*() methods to names without the nt_ prefix (GUI version)
2021-08-13 12:51:30 -06:00
Paul Davis
53c164f9fd
GUI changes to get libtemporal setup at application startup
2021-08-13 12:51:30 -06:00
Paul Davis
d2a94468d4
missing part of RCU update for tempo marker drag
2021-08-13 12:51:30 -06:00
Paul Davis
42c38d313d
try to use RCU updating when dragging tempo markers
2021-08-13 12:51:30 -06:00
Paul Davis
49781e3b80
nominally fix up TempoMarkerDrag implementation for new TempoMap
2021-08-13 12:51:30 -06:00
Paul Davis
90553b315f
fix up memento command use for tempo map undo/redo
2021-08-13 12:51:30 -06:00
Paul Davis
3c00fab75e
remove/hide Session::tempo_map() and use TempoMap::use() instead (thread local shared ptr) (GUI edition)
2021-08-13 12:51:30 -06:00
Paul Davis
f8df966914
clean up MeterMarkerDrag
2021-08-13 12:51:30 -06:00
Paul Davis
f0d055ad4d
more updates for new tempo map API
2021-08-13 12:51:30 -06:00
Paul Davis
749a49c278
incorporating new tempo map API
2021-08-13 12:51:29 -06:00
Paul Davis
f67029bd02
random commit to facilitate trivial move of work from laptop back to main system
2021-08-13 12:51:29 -06:00
Paul Davis
2a08e4bdaa
continued work on timeline types conversion. in theory, just editor_ops.cc remains
2021-08-13 12:51:29 -06:00
Paul Davis
5b2a435e02
getting editor_drag.cc to compile
2021-08-13 12:51:29 -06:00
Paul Davis
1b06fcb335
another snapshot of ongoing work on timeline types. still not compilable
2021-08-13 12:51:29 -06:00
Paul Davis
7433bc27e0
intermediate, unfinished snapshot of ongoing timeline types work on GTK GUI
2021-08-13 12:51:29 -06:00
Paul Davis
f4490f54c5
change Timecode::BBT_Time to use Temporal namespace, plus a couple of other minor changes to enable compilation
...
This still uses the tempo map object in libs/ardour, not the new one in libs/temporal, and isn't likely to be functional
(though it could be)
2021-08-13 12:51:28 -06:00
Paul Davis
0a469527f1
updated Temporal::Beats ... GUI edition
2021-08-13 12:51:28 -06:00
Paul Davis
32b77f549f
fix marker positions after an aborted ripple drag
2021-08-13 12:51:28 -06:00
Paul Davis
23aa663f9d
when doing a ripple-all drag, move relevant markers during the drag too
...
Note that this is purely GUI-level: the ARDOUR::Locations are changed at the end of the drag
in Editor::ripple_marks()
2021-08-13 12:51:28 -06:00
Paul Davis
140c5e818f
somewhat simplify ripple-all by just grabbing all regions-at-or-after as the drag starts.
...
This means that we actually explicitly reposition all regions as part of the drag, and do not need to call
Editor::do_ripple(). We do still need to call Editor::ripple_marks() though
2021-08-13 12:51:28 -06:00
Paul Davis
7afc45ac5c
helpful comment
2021-08-13 12:51:28 -06:00
Paul Davis
a1ef870866
prevent ripple drag from passing earlier region starts
2021-08-13 12:51:28 -06:00
Paul Davis
311db08cc3
manual fixups for rebase-on-master issues
2021-08-13 12:51:28 -06:00
Paul Davis
a95b1d2cd1
for RegionMotionDrag, set _earliest_time_limit if rippling (not yet used)
2021-08-13 12:51:28 -06:00