Commit Graph

43 Commits

Author SHA1 Message Date
Paul Davis b35518e212 switch from boost::{shared,weak}_ptr to std::{shared,weak}_ptr
This is mostly a simple lexical search+replace but the absence of operator< for
std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence
and ExportPortChannel.
2023-03-24 14:19:15 -06:00
Robin Gareus 5834728e2f
Allow to un/link foldback send panners 2022-08-05 00:56:19 +02:00
Robin Gareus 9c4a8ba528
Foldback: GUI consistency
* Insensitive route-ops menu when track disabled
* Re-order route-ops to match mixer-strip
* Add number Label to foldbacks
* Set spacing for consistent look/feel
2021-03-27 23:14:19 +01:00
Robin Gareus bf8f0efbf9
Foldback: Cont'd tweaks and fixes
* Follow track order changes
* Show send context menu on right-click
* use "route_connections" for route signals
2021-03-27 19:33:46 +01:00
Robin Gareus 294b550584
Trap click signals of inline-controls
RouteUI::show_sends_press() is re-used used to show
the send context menu. However other button actions
need to be ignored.
2021-03-27 18:47:01 +01:00
Robin Gareus c91080e950
NO-OP: cosmetic changes
* Prefix private member variable with underscores.
* use C-style comment blocks
* Inline single-use method
2021-03-27 18:31:10 +01:00
Robin Gareus 602135ad66
Foldback: Remove shadowed session-variable, RouteUI is-a SessionHandlePtr 2021-03-27 18:24:39 +01:00
Robin Gareus 24499fa7da
Foldback: use RouteUI send-spill functions
This resolves ambiguities of overloaded non-virtual methods
that used shared protected variables (send_blink_connection).

It fixes "show sends" of foldback busses (spilling the send
controls) and allows for showing showing other sends directly
without first disabling it.

This fixes some related issues with inheritance and
signal propagation.
2021-03-27 15:52:14 +01:00
Robin Gareus 212b08b422
Foldback: remove unused processor actions
Also since foldback-busses are not selectable AxisViews,
various keyboard-shortcut operations cannot be performed
from the mixer-context. However the processox-box itself
provides these actions for the fold-back bus.
2021-03-26 23:52:12 +01:00
Robin Gareus a94c0d62a6
Foldback: Con't work to remove unused mixer-strip code 2021-03-26 23:49:36 +01:00
Robin Gareus 0edb6083f1
Foldback strip: remove cruft
Remove unused code that was copy/pasted from mixer_strip.cc
which is not needed for foldback strips. Notably alternative
delivery display mode (aux-sends).
2021-03-26 16:39:40 +01:00
Robin Gareus 05f6550e2c
Foldback: NO-OP clang-format 2021-03-26 02:48:04 +01:00
Robin Gareus 01bc039f9b
Foldback: use IObutton
This follows 3e7b2bb3f5, common shared implementation
of IOButtons. This also uses RouteUI provided IOSelectorWindows.
2021-03-26 02:33:56 +01:00
Robin Gareus b12cad80bc
Foldback: consistent mouse handling part 1
* un-hardcode button numbers, use portable modifier API
* allow to toggle Send bypass with middle-click
* add support for delete-operator
* Only act on single-click press
2021-03-26 02:17:09 +01:00
Robin Gareus ce28065421
Foldback: refactor spill logic
Prefer to reuse spill logic from the mixer-ui.
This allows to spill routes directly after spilling
foldbacks. Previously that resulted in FB "show sends"
to keep flashing even then no foldbacks were spilled anymore.

It also simplifies various aspects of foldback prev/next
logic.
2021-03-25 21:38:10 +01:00
Robin Gareus b2c4e71a45
Subscribe to pretty-port name changes (GUI) 2021-01-18 03:18:20 +01:00
Len Ovens dde2ebdcb3 Add menu item per send to change pre/post fader 2020-08-09 09:10:24 -07:00
Len Ovens b8202431ef Add foldback bus dulication option
Duplicates the bus and its sends and levels
2020-05-28 07:05:59 -07:00
Len Ovens cc5e9631eb Spelling mistake 2020-05-07 18:38:42 -07:00
Robin Gareus d91189ffe5
Consistent GPL boilerplate 2020-05-08 03:19:17 +02:00
Len Ovens 7a5dc98296 Fix gpl address 2020-05-07 17:34:49 -07:00
Len Ovens 8e1e271eba Add a meter to Foldback bus
Spaces got replaced by tabs as well.
2020-05-07 17:13:40 -07:00
Len Ovens 2df52979d4 The listen Button (Solo) has no function in Foldback remove 2020-05-05 09:21:50 -07:00
Robin Gareus 0a6f517230
No more doxygen warnings for gtk2_arodur/*
That's with doxgen 1.8.13.
2019-09-30 21:03:16 +02:00
Len Ovens ec35afef38 Foldback gui:Removed unused calls and parameters 2019-09-15 07:00:11 -07:00
Len Ovens ef5fd145f7 Set Foldback strip width and ellipsize to work 2019-09-14 10:19:01 -07:00
Len Ovens 7e5552d00b foldback gui: simplify foldback strip menus
This uses less code and fixes the odd crash as well
(there was sometimes a crash when using the send
display context menu)
2019-09-12 12:44:38 -07:00
Len Ovens 81bbc3be1e foldback gui: simplify button code where possible
use signal_clicked rather than signal_button_press_event
for cases where a menu is not launched.
2019-09-12 09:39:38 -07:00
Len Ovens da88e9d34c Foldback gui: Added hide and show
- New menu item in view menu
- Foldback strip has hide button
- Adding a new foldback bus sets show
- setting is saved and restored
2019-09-11 16:36:05 -07:00
Len Ovens 2e857e9143 Foldback gui: previous and next buttons don't wrap around
I had set the previous next buttons to wrap around
but Robin felt dead ending was better. The previous
button becomes insensitive when the first foldback bus
is displayed and next is insensitive when the last is
displayed.
2019-09-10 21:09:54 -07:00
Len Ovens 3f6310ef9c Foldback GUI: sort send controls by mixer order
also found send button name did not follow sending
route name after change and tool tip was wrong. Fixed
both.
2019-09-10 19:26:41 -07:00
Len Ovens f84374730a Foldback GUI: size and position tweaks
- Set width so added pan controls in send controls don't change size
 - output button shows only ports applicable to foldback use
 - Size text to leave widget width alone
 - Center level control
 -
2019-09-10 16:09:26 -07:00
Len Ovens 5450b6c556 NO OP: clean up and rearrange things 2019-09-08 14:02:48 -07:00
Len Ovens a8447a35ac Foldback GUI: Add menus to send box 2019-09-07 14:51:40 -07:00
Len Ovens c992a601ae Change back ground color for foldback strip 2019-09-03 21:17:11 -07:00
Len Ovens 0840bc0c76 Replaced foldback select button with previous and next buttons 2019-08-28 16:23:46 -07:00
Len Ovens d39abd8dc1 Removed unused includes 2019-08-28 11:21:06 -07:00
Len Ovens 5d652dd9c4 removed axis view from foldback strip 2019-08-27 10:16:48 -07:00
Len Ovens fa94741f2c Monitor new signal to rebuild sendlist
remove debug lines, remove last FB bus works
2019-08-26 17:48:22 -07:00
Len Ovens a2de8bd881 Add send controls to foldback GUI 2019-08-26 17:48:22 -07:00
Len Ovens fe1442dec9 Fix processor box for no crash on click 2019-08-26 17:48:22 -07:00
Len Ovens 5414728c18 Start adding processor box 2019-08-26 17:48:22 -07:00
Len Ovens 4f22bcea24 Add strip GUI first try for foldback bus 2019-08-26 17:48:22 -07:00