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
216ff53bb9
C++11 Lambda FTW!
2021-12-24 02:13:50 +01:00
cf5dcd12ee
Use a callback instead of subtractive char math
2021-12-24 02:13:03 +01:00
d78364f90b
Un-hardcode number of trigger-slots
2021-12-24 00:31:01 +01:00
b2b9c38bc3
Leave a note about trigger-slot IDs using western alphabet
...
Ideally these would be translatable into Cyrillic, Greek,
Chinese or any other alphabet (and not be limited to 26 either).
2021-12-24 00:31:01 +01:00
541b91d293
Implement Bounce Range to Trigger
2021-12-23 22:39:57 +01:00
83d8560490
Fix bound-range dialog label
...
Gtk::Label leaves scope, but must remain until the dialog
is destroyed.
2021-12-23 22:32:36 +01:00
5406057190
Use speaker-icon in loudness report to indicate a too quiet signal
2021-12-23 17:41:12 +01:00
ef71266129
Use Table-like layout for Conformity Analysis
2021-12-23 17:16:56 +01:00
6dcb9dc9c4
Fix conformity analysis layout when using font-scaling
2021-12-23 16:48:58 +01:00
43203a407b
triggerbox: steps toward sane trigger stopping API and design (GUI edition)
2021-12-22 17:27:26 -07:00
308a764e96
trigger_ui: pixel pushing
2021-12-22 12:29:40 -06:00
1bbe00ca48
triggerbox: implement set_all_X for triggers (gtk part)
2021-12-22 12:29:40 -06:00
844bb85d12
triggerbox: somewhat working mechanism for "clear" slot
2021-12-21 22:35:59 -07:00
8e86451685
remove some debug output
2021-12-21 17:58:29 -07:00
c7e778bba0
manual fixups for unresolved merge conflicts
2021-12-21 17:55:48 -07:00
d67f97a754
triggerbox: mostly functional slot swapping system (GUI side)
2021-12-21 17:42:10 -07:00
c18d175f55
triggerbox (UI): shared ptrs for everyone, plus indirect references to Triggers from TriggerEntry
2021-12-21 17:40:37 -07:00
b89b452c8d
trigger_ui: allow selecting an empty slot
2021-12-21 15:32:43 -06:00
aa7b15a0b6
trigger_ui: more consistent icons and better selection persistence
2021-12-21 15:32:43 -06:00
b688f7da6b
triggerbox_ui: split context menu into launch, contents and follow-action menus
2021-12-21 15:32:43 -06:00
9837adb4c4
trigger_ui: separate buttons+icons for launch and follow modes
2021-12-21 15:32:42 -06:00
de735fbb0e
Add missing TriggerPage button context menu
...
amend 9ce604bc03
2021-12-21 22:19:55 +01:00
8fa8e7d814
Resolve yet more ambiguous Rect
(fixes macOS build)
2021-12-20 21:22:21 +01:00
3cf9c1f047
Cont'd work on trigger-clip picker
...
* Allow custom paths
* Add ".." open parent folder
* Allow to descend into folders
2021-12-20 02:40:53 +01:00
bae4bbfc0c
Resolve more ambiguous Rect
(fixes macOS build)
2021-12-19 16:48:18 +01:00
4432a89704
Cont'd work on trigger-clip picker
...
* Only enabled auditioning when a file is selected
* Skip hidden folders/files
* Only drag files (not folders)
2021-12-18 01:27:47 +01:00
9d4a40ec61
Clean up c4de76c835
...
* consolidate redraws on property changes
* use RAII to unwind _ignore_menu_action
* replace comments, always add a space after a comment start
never a Tab
* clang-format
2021-12-18 00:20:50 +01:00
a908218676
Dynamically create clip-picker file tree, lazy load subfolders
2021-12-18 00:02:32 +01:00
c4de76c835
triggerbox: implement clear_trigger and isolate (gtk part)
2021-12-17 13:12:00 -06:00
f9192decbf
triggerbox: workaround for CheckMenuItems that fire the action when we set the display state
2021-12-17 13:09:49 -06:00
9aa6e4c89e
triggerbox: highlight stop-button (empty triggers) on entry
2021-12-17 13:09:49 -06:00
c734957aaa
triggerbox: loop count should be 1-based
2021-12-17 13:00:17 -06:00
d5e13f093f
triggerboxui: explicitly disconnect from update/selection signals
...
sigc::connection is not scoped, so disconnection is not automation
2021-12-17 09:54:43 -07:00
c58a2a5749
video monitor: no need to test sigc::connection for connected() before disconnecting
2021-12-17 09:54:10 -07:00
0dad657c89
Amend previous commit
2021-12-17 17:48:27 +01:00
0e930ae5f4
Re-add another explicit sigc::disconnect
...
Apparently signals are not disconnected when the connection
is destroyed.
2021-12-17 17:28:32 +01:00
8b5711238e
Mysterious fix crash on selection
...
This was removed in 422ad6656d
since disconnecting
sigc::connection in the d'tor is not supposed to be a no-op.
2021-12-17 17:11:48 +01:00
422ad6656d
Re-do source-code cleanup and formatting
...
Some of this was lost in 26df9ccdf8
This also removes some excess code
2021-12-17 16:53:16 +01:00
49b1eb401d
Yet more code cleaning and formatting
2021-12-17 16:21:33 +01:00
26df9ccdf8
pixel pushing: return of drop-shadows (maybe)
2021-12-17 08:55:30 -06:00
27ba2c7ea6
Cleanup and clang-format source
2021-12-17 15:30:14 +01:00
6e3ed7f822
Clean up trigger-page layout
...
* move strip name-button to the top
* only manage() Gtk Widgets, not Canvas Items
* use identical layout for Cue and Strip
2021-12-17 14:51:19 +01:00
cf41055f7c
Disambiguate another Rect (fixes macOS builds)
...
/usr/include/MacTypes.h:550:41: note: candidate found by name lookup is 'Rect'
libs/canvas/canvas/canvas.h:57:8: note: candidate found by name lookup is 'ArdourCanvas::Rect'
2021-12-17 12:07:45 +01:00
b4c98f10e8
tweak towards getting handling of trigger_display in MixerStrip correct
2021-12-16 22:52:56 -07:00
d59a1944fe
Tweak trigger/clip media browser layout
2021-12-17 03:57:17 +01:00
50b5ba51bf
Revert "fix initial (and only) ::show() calls for triggerbox and trigger master widgets"
...
This was wrong. Busses do not have triggerboxen (at this time).
This reverts commit 8ebf91ae14
.
2021-12-16 18:59:48 -07:00
8ebf91ae14
fix initial (and only) ::show() calls for triggerbox and trigger master widgets
2021-12-16 18:55:40 -07:00
4c8559ecdf
fix redisplay/reset of triggerbox ui as part of set_route()
2021-12-16 18:55:05 -07:00
de6178093e
allow FittedCanvasWidget to have it's root first child replaced
2021-12-16 18:54:32 -07:00
5ad5603f1e
Unset CueMaster session-handle on session close
2021-12-17 00:42:07 +01:00
e3be6836ca
Trigger-clip-picker audition
2021-12-17 00:42:06 +01:00
95aad0dc15
Disambiguate Rect(angle) -- fixes Windows and macOS builds
2021-12-17 00:42:06 +01:00
8193d579de
trigger master widget visibility now also visibility group controlled
2021-12-16 15:53:49 -07:00
81ebe47fdd
triggerbox: some initial fixups for always-there trigger display
2021-12-16 15:45:46 -07:00
6a0b720d8f
convert trigger display into a permanent, VisibilityGroup-controlled element of MixerStrip
...
Likely to be soem SNAFUs to find
2021-12-16 15:30:25 -07:00
d933af6c81
attach triggerbox to triggerbox widget after construction
2021-12-16 15:15:14 -07:00
1e09a12642
remove TriggerBoxWindow API (not used)
2021-12-16 15:09:20 -07:00
9fd0b20b2a
Towards a proper media/clip-browser
2021-12-16 19:08:04 +01:00
21ed6a2626
add Config variable for trigger enable
2021-12-16 10:39:43 -07:00
39d9c39452
remove redundant double-add of "solo-selection" to session-sensitive-actions
2021-12-16 10:39:43 -07:00
f4009e0e09
triggerbox: display pass_thru state and allow control via context menu
2021-12-16 10:53:30 -06:00
ce40f82cc4
triggerbox: add TriggerMaster widget to mixer strip
2021-12-16 10:40:16 -06:00
9593cb97d1
triggerbox gui: replace stop-button with Loopster progress-indicator
2021-12-16 08:15:29 -06:00
1bf8f9bd0e
Remove 'l', 'i', 'b', 'p', 't', 'f', 'o', 'r', 'm', 'a', 't'
...
This fixes obj.use += 'libptformat' vs. obj.use += [ 'libptformat' ]
however the latter is already added unconditionally.
2021-12-16 04:09:25 +01:00
07d5b16e6f
more missing files
2021-12-15 20:48:10 -06:00
1812769f84
add missing files
2021-12-15 19:27:43 -06:00
a15397f746
triggerbox: new trigger_property widgets, because trigger data != a region
2021-12-15 18:08:22 -06:00
2e48fbc8cb
fix shutdown crash
2021-12-15 18:08:22 -06:00
4b26ce3f5f
remove assert(video_timeline)
...
The idle visual changer can run after the video timeline has been deleted, and this
is not an error.
2021-12-15 16:09:28 -07:00
7ade2099ce
move point of deletion of video timeline
...
The "ask about deletion" dialog will run a recursive main loop
which will call idle handlers, which could call the visual change
handler if the playhead is rolling. VTL is assumed to stoll
exist when this is called
2021-12-15 15:52:15 -07:00
ed6121d76e
triggerbox: continued work on Repeat trigger mode
2021-12-15 12:26:46 -07:00
8b1f7a696d
triggerbox: TriggerMaster widget: better loop-progress indication
2021-12-15 12:27:56 -06:00
abf0eecca3
triggerbox: cont'd work on TriggerMaster widget
2021-12-15 11:45:17 -06:00
da00c50271
disambiguate Rectangle for win/macOS
2021-12-15 09:38:10 -07:00
8b600d0080
disambiguate Rect for win/macOS
2021-12-15 09:32:58 -07:00
91f38f9c4e
remove Session::bbt_time() and use TempoMap::use()->bbt_at() explicitly everywhere (GUI edition)
2021-12-14 21:59:33 -07:00
66a114a892
triggerbox: draw icons for follow-actions (for testing)
2021-12-14 20:40:15 -06:00
142ca9fd07
Allow DnD to TriggerBox from Editor's sidebar
2021-12-14 21:34:21 +01:00
8d137b1514
Add API to support Editor sidebar DnD outside of the editor
2021-12-14 21:33:24 +01:00
56605c48da
Prevent editor to grow vertically > 1080px (temp. workaround)
...
This will require some overhaul and re-layout of the selection
sidebar.
2021-12-14 21:09:32 +01:00
509c247bfe
Add strip dialog to blank Trigger Page
2021-12-14 21:03:48 +01:00
36e995b2e4
triggerbox: rough-in sliders for velocity and probability
2021-12-14 13:11:11 -06:00
4d4fdc2b55
trigger_ui: remove dynamic widget allocation (leftovers from canvas)
2021-12-14 10:40:37 -06:00
f8e9ac893e
trigerbox: de-sensitize follow-action widgets when FA is off
2021-12-14 10:40:37 -06:00
f632a57aaf
Triggerbox: add a widget for follow_count (ToDo: need ArdourSpinner?)
2021-12-14 10:40:37 -06:00
a07750faa1
Clip Properties: remove Loop buttons (we will use Follow action instead)
2021-12-14 10:40:37 -06:00
fde1b3d27e
Highlight Drop Trigger Slot
2021-12-14 03:10:03 +01:00
237dfb53e7
remove add trigger check box from add route dialog (always use triggers)
2021-12-13 15:12:36 -07:00
5e38da36c6
Allow to drop file into dedicated Triggerbox slot
2021-12-13 23:05:03 +01:00