Commit Graph

15036 Commits

Author SHA1 Message Date
Ben Loftis
378ad277bd typo fix 2022-01-16 17:15:46 -06:00
Ben Loftis
14787059c2 trigger_ui: move gain spinbox to selected-trigger header row 2022-01-16 16:56:59 -06:00
Ben Loftis
f0951e86cc trigger_ui: fix copy+paste thinko 2022-01-16 16:04:31 -06:00
Ben Loftis
c888cdf5e5 trigger_ui: use ardourwidget::frame for themeing 2022-01-16 16:04:12 -06:00
Ben Loftis
6862d52d87 trigger_ui: use_follow_length property, plus some defensive coding changes 2022-01-16 11:19:31 -06:00
Paul Davis
a6727cace5 use new editor/tempo map editing API for tempo marker drag 2022-01-15 22:53:58 -07:00
Paul Davis
4db7aa6bdc add Editor API to manage tempo map edits (at least, drags) 2022-01-15 22:53:36 -07:00
Paul Davis
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
Robin Gareus
60f8cfb841 Add capttion to Trigger Page "+" icon 2022-01-15 04:46:58 +01:00
Paul Davis
203017e2d5 triggerbox: remove "use follow action" as an explicit property of a trigger (GUI edition, partial) 2022-01-14 17:39:27 -07:00
Robin Gareus
de355155ed NO-OP: clarify variable name (2/2) 2022-01-15 00:06:38 +01:00
Robin Gareus
f2a4ec3776 Only ImportAsTrigger shows the track on the TriggerPage 2022-01-14 22:46:51 +01:00
Ben Loftis
5cf96b16a9 trigger_ui: thinko fix for cce26 2022-01-14 13:16:46 -06:00
Ben Loftis
cce260b67a trigger_ui: reorganize some tempo and FA controls 2022-01-14 12:55:51 -06:00
Ben Loftis
d04743c813 trigger_ui: organize the FA widgets into a separate themed table 2022-01-14 10:06:49 -06:00
Ben Loftis
c7bd32c7ec trigger_ui: remove some cruft leftover from refactoring ATPB to a TriggerUI 2022-01-13 23:33:05 -06:00
Ben Loftis
6e5cb50f32 trigger_ui: add buttons to display and modify segment_tempo 2022-01-13 23:19:59 -06:00
Paul Davis
7f2b09085e triggerbox UI: fix uninitialized member variable 2022-01-13 13:29:22 -07:00
Robin Gareus
521beab486 Fix missing color 2022-01-13 00:11:41 +01:00
Robin Gareus
a970ddbaa5 Trigger clip picker: cleanup c'tor (sensitivity) 2022-01-13 00:10:58 +01:00
Robin Gareus
78d15aa153 Trigger clip picker: add support for media meta data 2022-01-13 00:10:45 +01:00
Ben Loftis
f0843e3cd9 trigger_ui: stretch_mode selector (gtk part) 2022-01-11 16:27:44 -06:00
Robin Gareus
1cc470264f NO-OP: clang format 2022-01-11 22:12:04 +01:00
Robin Gareus
4eb6a2f195 TriggerBox: draw DnD icon 2022-01-11 22:12:02 +01:00
Robin Gareus
5e3c49f397 TriggerBox: DnD, better version of 8b90ea39a22cl
Move start-drag logic into individual TriggerEntry instances.
This allows to use local data in drag_data_get as-is.
2022-01-11 22:11:57 +01:00
Ben Loftis
66290bfffc trigger_ui: remove fade in+out buttons; we will not be using them 2022-01-11 12:41:08 -06:00
Ben Loftis
2f9b896f06 trigger picker: tweak layout and behaviors ... more ArdourButton-y 2022-01-11 12:26:14 -06:00
Ben Loftis
5f0839141b trigger_ui: refactor property_boxen to subclasses of TriggerUI 2022-01-11 10:51:24 -06:00
Ben Loftis
7ddecb91e0 trigger_ui: Fix crash when selecting a midi trigger 2022-01-11 10:41:32 -06:00
Ben Loftis
3b9fb818e8 trigger_ui: remove update timer, and consolidate set_widget_colors() code 2022-01-11 10:13:06 -06:00
Ben Loftis
07738e815b trigger_ui: better connection management: watch both the Trigger and the Box 2022-01-11 10:09:47 -06:00
Robin Gareus
192d513cba NO-OP: clang-format 2022-01-11 13:52:02 +01:00
Robin Gareus
8b90ea39a2 TriggerBox: implement basic TriggerSlot DnD 2022-01-11 05:21:52 +01:00
Robin Gareus
96137739a7 Reduce includes required for Selection
Previously a triggerbox_ui.h change triggered a complete UI
rebuild. This follows the concept of other editor_selection
lists which use forward declarations.
2022-01-11 05:21:51 +01:00
Robin Gareus
1661f6479f TriggerBox: allow to receive Regions by ID via DnD 2022-01-11 05:21:51 +01:00
Ben Loftis
1db6e9edca trigger_ui: add spinner for clip gain 2022-01-10 19:33:30 -06:00
Ben Loftis
589c92e2c6 trigger_ui: fix copy+paste thinko 2022-01-10 19:30:17 -06:00
Ben Loftis
d0ec37e223 trigger_ui: implement follow_length widget, WIP, crashy 2022-01-10 18:25:01 -06:00
Robin Gareus
a48d9a31bc Trigger clip picker: allow auto-audition on selection 2022-01-11 00:56:33 +01:00
Robin Gareus
806f62ffe6 Allow import via DnD to Source list (not region list) 2022-01-11 00:56:32 +01:00
Robin Gareus
2342caae46 Push a few more nutempo DnD warning macros 2022-01-10 21:48:11 +01:00
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