Commit graph

55 commits

Author SHA1 Message Date
Paul Davis
2755847294 triggerbox UI: fix crash caused by uninitialized member variable 2022-01-06 16:50:26 -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
aa3806d875 triggerbox: support for ReTrigger launch style 2022-01-03 17:45:21 -07:00
Paul Davis
66b170075b triggerbox: add Forward/ReverseTrigger follow actions (GUI edition) 2022-01-02 17:20:39 -07:00
Paul Davis
e3293db126 triggerbox UI: clean up class heirachy for *TriggerPropertiesBox and catch trigger swaps 2022-01-01 16:19:13 -07: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
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
Ben Loftis
8997a247d4 trigger_ui: add a name widget and the ability to rename a slot 2021-12-30 21:25:39 -06:00
Ben Loftis
414f3611ee trigger_ui: reverse the probability display logic (again) 2021-12-27 18:03:13 -06:00
Ben Loftis
e609c9f417 trigger_ui: implement menu option for quantization=None 2021-12-27 18:03:13 -06:00
Paul Davis
a5c37e6fd4 fix one remaining trigger lookup in trigger UI 2021-12-24 14:42:52 -07:00
Paul Davis
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
Ben Loftis
ea9512ff1a trigger_ui: various thinkos. fixes property editor FA buttons 2021-12-23 22:35:52 -06:00
Ben Loftis
e87c7d96fb trigger_ui: code cleanup; consistently use X_to_string; add missing items 2021-12-23 22:35:52 -06:00
Paul Davis
c18d175f55 triggerbox (UI): shared ptrs for everyone, plus indirect references to Triggers from TriggerEntry 2021-12-21 17:40:37 -07:00
Ben Loftis
b89b452c8d trigger_ui: allow selecting an empty slot 2021-12-21 15:32:43 -06:00
Ben Loftis
a15397f746 triggerbox: new trigger_property widgets, because trigger data != a region 2021-12-15 18:08:22 -06:00
Ben Loftis
36e995b2e4 triggerbox: rough-in sliders for velocity and probability 2021-12-14 13:11:11 -06:00
Ben Loftis
4d4fdc2b55 trigger_ui: remove dynamic widget allocation (leftovers from canvas) 2021-12-14 10:40:37 -06:00
Ben Loftis
f8e9ac893e trigerbox: de-sensitize follow-action widgets when FA is off 2021-12-14 10:40:37 -06:00
Ben Loftis
f632a57aaf Triggerbox: add a widget for follow_count (ToDo: need ArdourSpinner?) 2021-12-14 10:40:37 -06:00
Paul Davis
f5049cda74 audio clip editor: restore ruler removed during merge conflict resolution; incrementally improve its behavior 2021-12-12 22:49:29 -07:00
Paul Davis
12dc428a60 change class names and heirarchy for the GUI elements that will be used to edit/trim clips 2021-12-09 19:45:25 -07:00
Ben Loftis
be27e7359f Property Boxen: handle more {audio|midi} cases; move code around. 2021-12-08 12:58:12 -06:00
Ben Loftis
d30f87bf00 PropertyBoxen: provide all slot property editors in a popup dialog (?) 2021-12-08 12:58:12 -06:00
Ben Loftis
cdce9e120e Trigger_UI: De-Canvas the trigger_ui widget so it can be reused in other places 2021-12-08 12:45:05 -06:00
Ben Loftis
d7116c985e Trigger_UI: change API to use set_trigger() instead of constructor arg 2021-12-08 12:40:20 -06:00
Ben Loftis
c0ff182e5f triggerbox: add a master-stopper-widget (currently it stops whatever slot is playing) 2021-12-08 12:35:17 -06:00
Paul Davis
0d96753364 remove unused variable 2021-11-10 11:55:20 -07:00
Paul Davis
efdd3e86c3 remove unused variable 2021-11-04 13:59:43 -06:00
Paul Davis
af2af29c95 remove Kiwi constraint-based packing code from canvas library and users (GUI version) 2021-11-04 11:25:56 -06:00
Paul Davis
97f323137c triggerbox: initial (incorrect) attempt at handling tempo map changes 2021-10-07 08:03:46 -06:00
Paul Davis
6ba8feed15 triggerui: work on colors, fonts and legato button 2021-10-03 09:09:01 -06:00
Paul Davis
b598750c2a triggerui: use new table attach API 2021-10-02 17:45:57 -06:00
Paul Davis
8cd8e23bef triggerUI: continue extending trigger launch editor 2021-10-01 18:38:42 -06:00
Paul Davis
9fe0c3912e triggerui: control and respond to trigger quantization changes 2021-09-29 18:01:19 -06:00
Paul Davis
55e7d70fca triggerui: start adding more elements to launch settings dialog 2021-09-29 11:20:50 -06:00
Paul Davis
b5c0f55831 triggerboxui: start connecting more widgets to trigger API 2021-09-29 11:20:50 -06:00
Robin Gareus
0dcf7d54e5
Fix --no-nls compilation 2/2 -- #8802 2021-09-27 16:28:44 +02:00
Paul Davis
5ee2c91864 triggerui: return to normal packing 2021-09-23 11:48:29 -06:00
Paul Davis
0878894c59 triggerbox: set bg color for packing table in trigger UI 2021-09-14 21:38:48 -06:00
Paul Davis
9925147aae triggerbox: follow UI changes to Table::attach() 2021-09-14 21:18:44 -06:00
Paul Davis
5816ca31b8 triggerbox: add some padding around button elements (mostly just testing) 2021-09-14 18:50:01 -06:00
Paul Davis
9e60fb92c2 triggerbox: mark GUI buttons for expansion 2021-09-14 18:43:18 -06:00