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
78d15aa153
Trigger clip picker: add support for media meta data
2022-01-13 00:10:45 +01:00
f0843e3cd9
trigger_ui: stretch_mode selector (gtk part)
2022-01-11 16:27:44 -06:00
1cc470264f
NO-OP: clang format
2022-01-11 22:12:04 +01:00
4eb6a2f195
TriggerBox: draw DnD icon
2022-01-11 22:12:02 +01:00
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
66290bfffc
trigger_ui: remove fade in+out buttons; we will not be using them
2022-01-11 12:41:08 -06:00
2f9b896f06
trigger picker: tweak layout and behaviors ... more ArdourButton-y
2022-01-11 12:26:14 -06:00
5f0839141b
trigger_ui: refactor property_boxen to subclasses of TriggerUI
2022-01-11 10:51:24 -06:00
7ddecb91e0
trigger_ui: Fix crash when selecting a midi trigger
2022-01-11 10:41:32 -06:00
3b9fb818e8
trigger_ui: remove update timer, and consolidate set_widget_colors() code
2022-01-11 10:13:06 -06:00
07738e815b
trigger_ui: better connection management: watch both the Trigger and the Box
2022-01-11 10:09:47 -06:00
192d513cba
NO-OP: clang-format
2022-01-11 13:52:02 +01:00
8b90ea39a2
TriggerBox: implement basic TriggerSlot DnD
2022-01-11 05:21:52 +01:00
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
1661f6479f
TriggerBox: allow to receive Regions by ID via DnD
2022-01-11 05:21:51 +01:00
1db6e9edca
trigger_ui: add spinner for clip gain
2022-01-10 19:33:30 -06:00
589c92e2c6
trigger_ui: fix copy+paste thinko
2022-01-10 19:30:17 -06:00
d0ec37e223
trigger_ui: implement follow_length widget, WIP, crashy
2022-01-10 18:25:01 -06:00
a48d9a31bc
Trigger clip picker: allow auto-audition on selection
2022-01-11 00:56:33 +01:00
806f62ffe6
Allow import via DnD to Source list (not region list)
2022-01-11 00:56:32 +01:00
2342caae46
Push a few more nutempo DnD warning macros
2022-01-10 21:48:11 +01:00
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
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
4f5779e67d
trigger_ui: allow grabbing() for Gate + Repeat (TODO: Repeat is borked)
2022-01-08 09:33:20 -06:00
a44ce7c075
trigger_ui: recover quantization:None menu entries
2022-01-07 18:06:31 -06:00
770ee07910
trigger_ui: use quantize_length_to_string() consistently
2022-01-07 18:05:38 -06:00
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
32880e0cdd
locations pane: hide CD checkbox for Cue Markers
2022-01-06 21:17:54 -06:00
e9081b0b7c
trigger_ui: re-add the ability to pick several clips at once
2022-01-06 21:17:53 -06:00
2755847294
triggerbox UI: fix crash caused by uninitialized member variable
2022-01-06 16:50:26 -07:00
0baf0d859d
GUI side of cue behavior (makes it available in the ruler context menu)
2022-01-06 12:00:18 -07:00
a1c627aa24
triggerbox: minor changes after change in how timeline cues are implemented
2022-01-06 00:23:49 -07:00
7c35783d63
various fixes for cue marker creation, dragging, naming
2022-01-05 13:27:47 -07:00
73ca08933d
fix default naming of cue markers
2022-01-05 13:27:47 -07:00
1d2fa465d3
remove mistaken handling of cue marker bar events
2022-01-05 13:27:47 -07:00
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
fdd92c82fb
trigger_ui: implement icons for new launch-styles and follow-actions
2022-01-04 16:45:11 -06:00
b1f73d25bf
actual GUI interaction for cue marker ruler
2022-01-04 15:23:51 -07:00
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
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
02b94123ef
Implement new trigger-track from region drop
2022-01-04 02:26:04 +01:00
aa3806d875
triggerbox: support for ReTrigger launch style
2022-01-03 17:45:21 -07:00
0e5b259cf0
Allow to create new trigger-tracks via file DnD
2022-01-03 23:57:50 +01:00
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
66b170075b
triggerbox: add Forward/ReverseTrigger follow actions (GUI edition)
2022-01-02 17:20:39 -07:00
4ded1e7df4
fitted_canvas: second part of 3784aa
2022-01-02 16:10:36 -06:00
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
d31773d2de
Fix header include #once macro
2022-01-02 21:51:54 +01:00
e3293db126
triggerbox UI: clean up class heirachy for *TriggerPropertiesBox and catch trigger swaps
2022-01-01 16:19:13 -07:00
bd12509910
Add trigger-page visibility to "Tracks & Busses" TV
2022-01-01 16:52:55 +01:00
7a1f1eafb8
Add context menu to trigger-strip's name button
2022-01-01 15:43:52 +01:00
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
4318d25ec7
Backport from mixbus, prepare trigger-strip ctx menu
2022-01-01 15:16:03 +01:00
c16631f8f8
Fix tiny memory leak
...
Route context menu remained after a route was deleted
2022-01-01 15:15:40 +01:00
48815bcd1d
Happy New Year, Ardour
2022-01-01 12:47:05 +01:00
233491c88a
Fix Consolidate-without-processing abort
2021-12-31 13:44:52 -06:00
5d711dc3f2
Fix non-virtual-dtor in TriggerUI baseclass
2021-12-31 04:46:38 +01:00
cdaa9a7262
trigger_ui: refactor shared features into TriggerUI base
2021-12-30 21:25:39 -06:00
9180a985a4
trigger_ui: TriggerEntry is-a TriggerUI
2021-12-30 21:25:39 -06:00
ab92f205aa
trigger_ui: replace missing update => smoother progress-circles
2021-12-30 21:25:39 -06:00
1dc756142c
trigger_ui: disambiguate set_triggerbox() from set_trigger()
2021-12-30 21:25:39 -06:00
81a011b786
trigger_ui: another FA probability fix
2021-12-30 21:25:39 -06:00
c5b6d7f9d2
trigger_ui: TriggerEntry is-a TriggerUI
2021-12-30 21:25:39 -06:00
f35020fc59
trigger_ui: refactor Actions into the TriggerUI base class
2021-12-30 21:25:39 -06:00
133b51922a
trigger_ui: move old triggerui implementation into slot_properties where it is used
2021-12-30 21:25:39 -06:00
c45b95a823
triggerui: refactor TriggerUI into a base class ... similar to RouteUI
2021-12-30 21:25:39 -06:00
7a53c4140d
trigger_ui: add a color-picker button
2021-12-30 21:25:39 -06:00
5e76c32e96
trigger_ui: add a button to load a sample (TODO: refactor with triggerbox)
2021-12-30 21:25:39 -06:00
8997a247d4
trigger_ui: add a name widget and the ability to rename a slot
2021-12-30 21:25:39 -06:00
658d8c512e
Trigger clip picker: add apple loop paths
2021-12-30 21:23:05 +01:00
d06a70a10a
Trigger clip picker: constrain browsing to parent folders.
...
Allow to move up to the highest common path, but not further.
2021-12-30 21:22:52 +01:00
be7e9df8e3
trigger_ui: fix render-gltches in Cue buttons
2021-12-28 08:37:08 -06:00
4736b8338c
trigger_ui: convenience functions to set Color for a column or row
2021-12-27 18:03:14 -06:00
414f3611ee
trigger_ui: reverse the probability display logic (again)
2021-12-27 18:03:13 -06:00
e609c9f417
trigger_ui: implement menu option for quantization=None
2021-12-27 18:03:13 -06:00
bad4fdc48a
trigger_ui: better display+handling of FA enable and probability
2021-12-27 18:03:13 -06:00
f5c2697f4f
trigger_ui: trigger-master button should follow conventions of other Stop buttons
...
Normally the Stop occurs quantized (on bar ending). Primary-modifier means 'stop now'
2021-12-27 18:03:13 -06:00
be190f611d
cruft removal
2021-12-27 18:03:13 -06:00
b722a23f39
triggerbox colors (gtk part)
2021-12-27 18:03:13 -06:00
8ac1b40694
pixel-pushing: tweak text position
2021-12-27 18:03:13 -06:00
3324882fe0
pixel-pushing: remove horizontal divider lines
2021-12-27 18:03:13 -06:00
13b907af5b
pixel-pushing: better icons for Any and Other
2021-12-27 18:03:13 -06:00
a71ab327a3
triggerbox UI: set ruler metric
2021-12-24 15:34:30 -07:00
a5c37e6fd4
fix one remaining trigger lookup in trigger UI
2021-12-24 14:42:52 -07:00
c18823c0e0
triggerbox: change entire UI side to avoid using TriggerPtr
...
Lifetime management of Triggers is unlike anything(?) we've dealt with in
Ardour so far. The parent object (Triggerbox) has a normal lifetime
pattern, but Triggers can come and go in a way that few other objects
do (although Processors and particularly PluginInsert are somewhat similar).
We do not want the GUI to hold references to the actual Triggers, because the
end of life of a Trigger is not really a signal for the GUI element to go
away (the Trigger will be replaced in the slot). Consequently, we do not
want TriggerPtr used as a member variable anywhere in the UI. Instead we use a
TriggerReference which can "lookup" a Trigger on-demand (by box and slot
number). The (G)UI now uses these exclusively.
Work still needed to pick up trigger swap signals from the boxen.
2021-12-24 14:18:10 -07:00
4d15bf9f18
triggerbox: move TriggerReference object into ARDOUR::Triggerbox
...
Also, change box handle to a pointer so that we can have a
default (empty) constructor.
2021-12-24 14:17:23 -07:00
753d1c9754
rulers: change API to accept a pointer instead of a reference to a Metric
...
We need to be able to construct Metrics after the ruler is constructed
in order to deal with Triggers which are potentially short-lived. We
stored the reference as a pointer anyway, so it's not as much of a change
as it appears.
2021-12-24 14:17:23 -07:00
8221b22ffd
Push UI scaling to libardour
2021-12-24 21:58:57 +01:00
d0792a7721
Update Export Graph rendering for variable size
2021-12-24 19:54:00 +01:00
ea9512ff1a
trigger_ui: various thinkos. fixes property editor FA buttons
2021-12-23 22:35:52 -06:00
42069bc7e2
trigger_ui: implement clear_all_triggers in Master button context menu
2021-12-23 22:35:52 -06:00
e87c7d96fb
trigger_ui: code cleanup; consistently use X_to_string; add missing items
2021-12-23 22:35:52 -06:00
68990d2dbd
trigger_ui: add a set_all_X context menu to Cue buttons
2021-12-23 22:35:52 -06:00
bc8994d5c8
trigger_ui: implement Audition Action (press A to audition, spacebar to stop)
2021-12-23 22:35:52 -06:00