Commit graph

11 commits

Author SHA1 Message Date
Ben Loftis
f0843e3cd9 trigger_ui: stretch_mode selector (gtk part) 2022-01-11 16:27:44 -06: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
5f0839141b trigger_ui: refactor property_boxen to subclasses of TriggerUI 2022-01-11 10:51:24 -06: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
Paul Davis
e3293db126 triggerbox UI: clean up class heirachy for *TriggerPropertiesBox and catch trigger swaps 2022-01-01 16:19:13 -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
Paul Davis
c18d175f55 triggerbox (UI): shared ptrs for everyone, plus indirect references to Triggers from TriggerEntry 2021-12-21 17:40:37 -07:00
Robin Gareus
49b1eb401d
Yet more code cleaning and formatting 2021-12-17 16:21:33 +01:00
Ben Loftis
07d5b16e6f more missing files 2021-12-15 20:48:10 -06:00