13
0
Commit Graph

15066 Commits

Author SHA1 Message Date
4020561389
Fix TB DnD (only check data-type when dropping regions) 2022-01-21 02:14:28 +01:00
60cbe57a6e Marker Rulers: changes to match mini-timeline aesthetic
Highlight ruler lanes when you enter, instead of showing many lines
2022-01-20 18:59:21 -06:00
16c809986d Mini Timeline: Add Circular Cue Markers; various cleanup and pixel-pushing tweaks 2022-01-20 18:59:21 -06:00
76c62139c8
Fix tiny memory leak when pasting multple files 2022-01-20 21:55:04 +01:00
f8564ba4df
Clean up header file 2022-01-20 20:13:46 +01:00
46e2a03863 triggerbox UI: jump follow action, part one 2022-01-20 11:01:14 -07:00
b6e0332148 use Item::disable_scroll_translation() for AudioClipEditor scroll bar 2022-01-20 09:46:35 -07:00
2152e7ba3b triggerbox: change FollowActions into an object with a target list (GUI edition) 2022-01-19 15:50:55 -07:00
b51621a1ae
Fix assert() when using DnD to import MIDI files
When importing a multi-track MIDI files with identical track-names,
Ardour would create the same file for each track. Effectively
overwriting an existing file.

The following MIDI file would create the same file twice
in `interchange/`, once for each MTrk.

```
MFile 1 2 240
MTrk
0 Meta SeqName "Foo Bar"
0 TimeSig 4/4 24 8
0 Tempo 666667
0 Meta TrkEnd
TrkEnd
MTrk
0 Meta TrkName "Foo Bar"
0 On ch=10 n=36 v=95
...
```
2022-01-19 19:22:51 +01:00
50bccb44d5
Add static meta-data for x-ardour/region.pbdid DnD
During drag-motion callbacks the data to be dragged is n/a.
However we like to discriminate if drop is possible.

When dragging regions, the data-type of the region to be dragged
is unknown, so different `x-ardour/region` targets are not an
option, either.

Until a better option is presented, a static global is used
to set the data-type for region.pbdid drags.
2022-01-19 17:13:51 +01:00
d4b436b4c5
Add SourceList to TriggerPage 2022-01-19 17:13:51 +01:00
c0ac99003b
Add RegionList to TriggerPage 2022-01-19 17:13:51 +01:00
37877fbdc2
Unify Source and RegionList abstraction 2022-01-19 17:13:51 +01:00
0204ea1f24
Unify Region Drag/Drop
Identify Regions using PDB::ID. This allows dragging regions
from almost anywhere to anywhere, without special cases.
2022-01-19 17:13:51 +01:00
5427cec821
Separate RegionList into a case-class for reusing in on the TriggerPage 2022-01-19 17:13:50 +01:00
41ade3b024 add a distinct Marker type enum for cue markers
Plan is to change the shape before this is considered done; for now
it uses the same shape as a regular marker
2022-01-19 09:06:38 -07:00
c916d3d952 Substantial overhaul of tempo display code
Major changes: do not delete and recreate markers and curves for every tempo map
change, attach tempo curves directly to their (preceding) tempo marker, notable
cleanup of TempoCurve class to remove unnecessary members.

More tweaks expected since algorithm for matching markers and tempo map
points is not correct yet.
2022-01-18 19:47:20 -07:00
ddd5b26686 trigger_ui: pixel-pushing: remove drop-shadows and try circles for Cues 2022-01-18 16:42:10 -06:00
2147ec6da7 trigger_ui: hide midi clip properties (pgm, ccs) until implemented 2022-01-18 16:33:45 -06:00
2501d3534a trigger_ui: rename user-visible text 'One Shot' to 'Trigger' to match convention
it is probably  best to leave the enum=OneShot to disambiguate from Trigger classes
2022-01-18 16:33:45 -06:00
e6bb88178c trigger_ui: (de)sensitize more stretch and follow options 2022-01-18 16:33:39 -06:00
945849cfb5
TriggerPage: show newly created tracks
The default argument changed, see 76facc0b13 and 670e1f9025
2022-01-18 16:01:42 +01:00
0eb44c3be9 trigger_ui: cancel audition when you drag+drop a clip so you can play with it 2022-01-17 19:47:49 -06:00
c6a3c54907 trigger_ui: tweaks to Stretch properties box 2022-01-17 19:02:11 -06:00
251263828b trigger_ui: gui for barcnt and meter (AudioTriggers only) 2022-01-17 19:02:06 -06:00
8e96dd40ed Tweak layout of Slot properties area 2022-01-17 18:04:43 -06:00
8595348db0 Remove unused property-editor widgets (for now). Resolves some SessionHandleRef shutdown errors 2022-01-17 18:04:43 -06:00
2f0e8e4cd7 Remove unused region-property-editor widgets, for now 2022-01-17 18:04:43 -06:00
fef4c2aba0
NO-OP: fix indent 2022-01-17 22:07:35 +01:00
213cc626be
Add sidebar to trigger-page 2022-01-17 22:06:48 +01:00
378ad277bd typo fix 2022-01-16 17:15:46 -06:00
14787059c2 trigger_ui: move gain spinbox to selected-trigger header row 2022-01-16 16:56:59 -06:00
f0951e86cc trigger_ui: fix copy+paste thinko 2022-01-16 16:04:31 -06:00
c888cdf5e5 trigger_ui: use ardourwidget::frame for themeing 2022-01-16 16:04:12 -06:00
6862d52d87 trigger_ui: use_follow_length property, plus some defensive coding changes 2022-01-16 11:19:31 -06:00
a6727cace5 use new editor/tempo map editing API for tempo marker drag 2022-01-15 22:53:58 -07:00
4db7aa6bdc add Editor API to manage tempo map edits (at least, drags) 2022-01-15 22:53:36 -07:00
7ea072a4f4 editor markers: refactor ::reassociate_metric_marks() to be able to process one marker at a time 2022-01-15 20:04:03 -07:00
60f8cfb841
Add capttion to Trigger Page "+" icon 2022-01-15 04:46:58 +01:00
203017e2d5 triggerbox: remove "use follow action" as an explicit property of a trigger (GUI edition, partial) 2022-01-14 17:39:27 -07:00
de355155ed
NO-OP: clarify variable name (2/2) 2022-01-15 00:06:38 +01:00
f2a4ec3776
Only ImportAsTrigger shows the track on the TriggerPage 2022-01-14 22:46:51 +01:00
5cf96b16a9 trigger_ui: thinko fix for cce26 2022-01-14 13:16:46 -06:00
cce260b67a trigger_ui: reorganize some tempo and FA controls 2022-01-14 12:55:51 -06:00
d04743c813 trigger_ui: organize the FA widgets into a separate themed table 2022-01-14 10:06:49 -06:00
c7bd32c7ec trigger_ui: remove some cruft leftover from refactoring ATPB to a TriggerUI 2022-01-13 23:33:05 -06:00
6e5cb50f32 trigger_ui: add buttons to display and modify segment_tempo 2022-01-13 23:19:59 -06:00
7f2b09085e triggerbox UI: fix uninitialized member variable 2022-01-13 13:29:22 -07:00
521beab486
Fix missing color 2022-01-13 00:11:41 +01:00
a970ddbaa5
Trigger clip picker: cleanup c'tor (sensitivity) 2022-01-13 00:10:58 +01:00