Commit Graph

14995 Commits

Author SHA1 Message Date
Robin Gareus
fa7e7a462c Work-around/Fix DnD from sidebar to editor-canvas
Editor::drop_regions() creates a new RegionInsertDrag()
with the region to drop to the timeline.

RegionInsertDrag is-a RegionMotionDrag is-a RegionDrag is-a Drag.
However the region does not yet exist on the timeline and
RegionView is NULL.

This will likely need an API change. e.g.
Directly pass the TimeDomain as argument. The information can
be provided by the region, or from the TimeAxisView or RouteUI
when dropping a new source/region.
2022-01-10 21:36:17 +01:00
Robin Gareus
056189c76c Clean up DnD, use MIME-types
This is in preparation for allowing to drag trigger-regions
or trigger-slots. Those will not use a static singleton
PublicEditor API.

Additionally this constrains Ardour-internal drags to Ardour
(via Gtk::TARGET_SAME_APP).
2022-01-10 21:29:29 +01:00
Ben Loftis
4f5779e67d trigger_ui: allow grabbing() for Gate + Repeat (TODO: Repeat is borked) 2022-01-08 09:33:20 -06:00
Ben Loftis
a44ce7c075 trigger_ui: recover quantization:None menu entries 2022-01-07 18:06:31 -06:00
Ben Loftis
770ee07910 trigger_ui: use quantize_length_to_string() consistently 2022-01-07 18:05:38 -06:00
Ben Loftis
8548626adf triggerbox: Add n-bar quantizations (GUI part) 2022-01-07 16:05:07 -06:00
John Emmas
6750c9b049 Disambiguate a pointer to CheckMenuItem
Windows itself offers its own version of CheckMenuItem
2022-01-07 10:34:11 +00:00
Ben Loftis
32880e0cdd locations pane: hide CD checkbox for Cue Markers 2022-01-06 21:17:54 -06:00
Ben Loftis
e9081b0b7c trigger_ui: re-add the ability to pick several clips at once 2022-01-06 21:17:53 -06:00
Paul Davis
2755847294 triggerbox UI: fix crash caused by uninitialized member variable 2022-01-06 16:50:26 -07:00
Paul Davis
0baf0d859d GUI side of cue behavior (makes it available in the ruler context menu) 2022-01-06 12:00:18 -07:00
Paul Davis
a1c627aa24 triggerbox: minor changes after change in how timeline cues are implemented 2022-01-06 00:23:49 -07:00
Paul Davis
7c35783d63 various fixes for cue marker creation, dragging, naming 2022-01-05 13:27:47 -07:00
Paul Davis
73ca08933d fix default naming of cue markers 2022-01-05 13:27:47 -07:00
Paul Davis
1d2fa465d3 remove mistaken handling of cue marker bar events 2022-01-05 13:27:47 -07:00
Ben Loftis
7e65097ded trigger_ui: corner button has menu to set ALL clips in the grid
...likely only useful for troubleshooting+development ... tbd
2022-01-04 16:45:11 -06:00
Ben Loftis
fdd92c82fb trigger_ui: implement icons for new launch-styles and follow-actions 2022-01-04 16:45:11 -06:00
Paul Davis
b1f73d25bf actual GUI interaction for cue marker ruler 2022-01-04 15:23:51 -07:00
Paul Davis
77d83540b1 copy-n-paste addition of cue marker ruler (based on cd marker ruler) 2022-01-04 15:23:51 -07:00
Jim Ramsay
79a365edce Allow latency measurements even if inverted wiring is detected
Inverted wiring is important to call out when detected, but the measured
latency is still valid and should be applicable.
2022-01-04 15:54:49 +01:00
Robin Gareus
547465e1fa Implement ImportAsTrigger w/ImportSerializeFiles
Place imported files on the same new track on consecutive
trigger slots.
2022-01-04 02:26:04 +01:00
Robin Gareus
02b94123ef Implement new trigger-track from region drop 2022-01-04 02:26:04 +01:00
Paul Davis
aa3806d875 triggerbox: support for ReTrigger launch style 2022-01-03 17:45:21 -07:00
Robin Gareus
0e5b259cf0 Allow to create new trigger-tracks via file DnD 2022-01-03 23:57:50 +01:00
Robin Gareus
e0c07e2306 Add ImportAsTrigger mode
This is like ImportAsTrack, except the imported region is not
added to the timeline, but the first trigger slot.
2022-01-03 23:51:33 +01:00
Paul Davis
66b170075b triggerbox: add Forward/ReverseTrigger follow actions (GUI edition) 2022-01-02 17:20:39 -07:00
Ben Loftis
4ded1e7df4 fitted_canvas: second part of 3784aa 2022-01-02 16:10:36 -06:00
Ben Loftis
942e362e18 fitted_canvas: virtual accessor will be useful for mb 2022-01-02 16:06:06 -06:00
Dan Church
b95078ae46 Fix mime package install location
<prefix>/share/mime/applications gets clobbered with data from
<prefix>/share/mime/packages/*.xml every time "update-mime-database" is
run.
2022-01-02 14:49:02 -07:00
Robin Gareus
d31773d2de Fix header include #once macro 2022-01-02 21:51:54 +01:00
Paul Davis
e3293db126 triggerbox UI: clean up class heirachy for *TriggerPropertiesBox and catch trigger swaps 2022-01-01 16:19:13 -07:00
Robin Gareus
bd12509910 Add trigger-page visibility to "Tracks & Busses" TV 2022-01-01 16:52:55 +01:00
Robin Gareus
7a1f1eafb8 Add context menu to trigger-strip's name button 2022-01-01 15:43:52 +01:00
Robin Gareus
0a17d8e66a Use shared static method to count plugins
This moves MixersStrip::help_count_plugins to RouteUI,
so that it can be shared with other Strip implementations.
2022-01-01 15:34:47 +01:00
Robin Gareus
4318d25ec7 Backport from mixbus, prepare trigger-strip ctx menu 2022-01-01 15:16:03 +01:00
Robin Gareus
c16631f8f8 Fix tiny memory leak
Route context menu remained after a route was deleted
2022-01-01 15:15:40 +01:00
Robin Gareus
48815bcd1d Happy New Year, Ardour 2022-01-01 12:47:05 +01:00
Ben Loftis
233491c88a Fix Consolidate-without-processing abort 2021-12-31 13:44:52 -06:00
Robin Gareus
5d711dc3f2 Fix non-virtual-dtor in TriggerUI baseclass 2021-12-31 04:46:38 +01:00
Ben Loftis
cdaa9a7262 trigger_ui: refactor shared features into TriggerUI base 2021-12-30 21:25:39 -06:00
Ben Loftis
9180a985a4 trigger_ui: TriggerEntry is-a TriggerUI 2021-12-30 21:25:39 -06:00
Ben Loftis
ab92f205aa trigger_ui: replace missing update => smoother progress-circles 2021-12-30 21:25:39 -06:00
Ben Loftis
1dc756142c trigger_ui: disambiguate set_triggerbox() from set_trigger() 2021-12-30 21:25:39 -06:00
Ben Loftis
81a011b786 trigger_ui: another FA probability fix 2021-12-30 21:25:39 -06:00
Ben Loftis
c5b6d7f9d2 trigger_ui: TriggerEntry is-a TriggerUI 2021-12-30 21:25:39 -06:00
Ben Loftis
f35020fc59 trigger_ui: refactor Actions into the TriggerUI base class 2021-12-30 21:25:39 -06:00
Ben Loftis
133b51922a trigger_ui: move old triggerui implementation into slot_properties where it is used 2021-12-30 21:25:39 -06:00
Ben Loftis
c45b95a823 triggerui: refactor TriggerUI into a base class ... similar to RouteUI 2021-12-30 21:25:39 -06:00
Ben Loftis
7a53c4140d trigger_ui: add a color-picker button 2021-12-30 21:25:39 -06:00
Ben Loftis
5e76c32e96 trigger_ui: add a button to load a sample (TODO: refactor with triggerbox) 2021-12-30 21:25:39 -06:00