Commit Graph

492 Commits

Author SHA1 Message Date
Paul Davis 2a08e4bdaa continued work on timeline types conversion. in theory, just editor_ops.cc remains 2021-08-13 12:51:29 -06:00
Paul Davis 5b2a435e02 getting editor_drag.cc to compile 2021-08-13 12:51:29 -06:00
Paul Davis 7433bc27e0 intermediate, unfinished snapshot of ongoing timeline types work on GTK GUI 2021-08-13 12:51:29 -06:00
Paul Davis 12b536d8f2 add API to fetch all regionviews after a given position 2021-08-13 12:51:28 -06:00
Paul Davis 636f1331e8 stop using ripple callback API, add Editor::should_ripple() and Editor::do_ripple() to manage rippling 2021-08-13 12:51:27 -06:00
Paul Davis 0e2bd5383c GUI changes to follow new Playlist::ripple() API
Current ripple callback does nothing at all
2021-08-13 12:51:27 -06:00
Ben Loftis 892d641987 Playlist UI tweaks: Add (select, share, copy, steal) operations to the playlist selector (under Advanced... menu)
Use the same sorting for the menu list and playlist_selector items
Implement Copy, Share and Steal playlist actions. Need a RouteTimeAxis for this.
Rename persistent dialog buttons to make it clear you can Revert
2021-06-01 09:39:39 -05:00
Nikolaus Gullotta a51e51b4f2 Playlist UI tweaks: Update PlaylistSelector (gtk2_ardour part)
Window is now no longer modal
Subscribes to new Track::PlaylistAdded signal
Move RouteUI setting to new dedicated method
Rename show_for to show
Hide PlaylistSelector if DropReference signal is emitted
2021-06-01 09:16:41 -05:00
Robin Gareus 2b7ae1a79f
Use sub-menus for > 32 processor automation parameters 2021-05-14 16:47:46 +02:00
Paul Davis 084d7e221b centralize naming of a couple of context menus 2021-05-13 10:29:19 -06:00
Paul Davis 95c674e3be rationalize where a TimeAxisView::_size_menu is detached from its parent menu
This happens before the parent menu is deleted and rebuilt
2021-05-13 10:29:19 -06:00
Robin Gareus 6627d28983
Fix typo in comment 2021-03-15 22:12:31 +01:00
Robin Gareus e267c1e129
Also show route owned controls on touch
This add support for special-cased automation controls
(Fader, Trim, Panner, Mute) and spills their automation-lane
on touch.

It also features a small internal API update directly mapping
CheckMenuItem. See also bd8c26a059
2021-03-15 20:58:42 +01:00
Robin Gareus e81794d878
Add preference to keep spilled automation-lanes visible 2021-03-02 19:00:23 +01:00
Robin Gareus 106f889f37
Fix automation context-menu state when reordering plugins
Previously displayed lanes (those with save "visibility" GUI
attributes) were always marked as visible in the context-menu.
2021-02-09 20:45:16 +01:00
Robin Gareus 4f605926c5
Tweak automation-lane auto-display
Hide lanes when touching a control when the editor is not
visible or if the option is disabled.
2021-02-09 17:41:53 +01:00
Robin Gareus 01bb38d99e
Add option to en/disable showing automation-lane on touch 2021-02-09 02:11:09 +01:00
Robin Gareus bd8c26a059
Automatically show automation-lane when touching a control 2021-02-09 02:11:09 +01:00
Robin Gareus 9b4d330285
Remove unused variable
`ignore_toggle` is never set to true.
2021-01-29 02:58:25 +01:00
Robin Gareus cf6e785ed3
Move Playlist GUI functions to RouteUI
This allows to re-use playlist editing in all RouteUI derivatives,
not just the main editor time axis header.

The change is mostly a NO-OP, simply moving methods from
RouteTimeAxisView (is-a RouteUI), to RouteUI.
2021-01-26 01:54:33 +01:00
Robin Gareus c398d85f0b
Disabled routes do not have a label that can be edited 2020-07-10 17:47:10 +02:00
Robin Gareus d366b49447
Automation Line may not exist after session re-load #8207 2020-06-06 01:05:41 +02:00
Robin Gareus 54ffd92fde
Fix ATAV identification by Parameter (2/2) #8201, 8203
Allow to uniquely identify Processor ATAV using the control ID.
2020-06-04 21:20:32 +02:00
Robin Gareus 0ab13e7b29
Fix ATAV identification by Parameter (1/2) #8201, 8203
See also 72af571f0c, ATAV for Processors cannot be identified by
Parameter alone. STAV uses a std::map<Evoral::Parameter, ..>
that is only valid for unique parameters.

The map cannot store Evoral::Parameter(PluginAutomation)
because it its not unique.
2020-06-04 21:20:32 +02:00
Robin Gareus 72af571f0c
Fix automation lane visibility and indices - #8162
This fixes an issue with using
  StripableTimeAxisView::_automation_tracks
for PluginAutomation. The latter is indexed per-plugin in
  RouteTimeAxisView::processor_automation

Evoral::Parameter(PluginAutomation) is only unique per plugin,
and hence cannot be used in STAV.
2020-06-01 06:38:18 +02:00
Robin Gareus 94085b0162
Avoid "Route" in user visible messages
Prefer "Track", "Bus" and/or "Strip" where applicable, or simply
avoid it.
2020-05-24 19:20:45 +02:00
Robin Gareus f31f9a09da
Fix inactive track header label display
Since 8fced29372 introduced no_show_all(), the packed widgets
need to be explicitly displayed.
2020-05-05 04:30:24 +02:00
Robin Gareus 6df03b2f1f
Reset track header meters - e1a9034a0e #7465 2020-04-12 21:01:01 +02:00
Robin Gareus 134b2162ba
Fix waveform update when channel-count changes
7434478a35 introduced a race, IOchange triggers updating the
GUI and re-configuring processors. The latter needs to complete
first, otherwise Track::n_channels() returns the previous
channel count.
2020-04-12 13:45:45 +02:00
Robin Gareus 7434478a35
Update Waveform display when channel-count changes 2020-04-08 17:40:32 +02:00
Paul Davis c2b026831c yes, RouteTimeAxisView::set_layer_display() really never applies to the selection 2020-04-03 18:54:51 -06:00
Paul Davis 743fbaf7bf change implementation of layer display menu items and handlers
The menu items no longer ever apply to the selection, because there will be an Editor-level
action to change things "globally"
2020-04-03 18:54:51 -06:00
Paul Davis d1e55ff5b7 add RouteTimeAxis::toggle_layer_display() 2020-04-03 18:54:51 -06:00
Paul Davis 1c53e73599 add two new ptr-to-menu-item, and remove an unused one, for RouteTimeAxis 2020-04-03 18:54:51 -06:00
Robin Gareus 386264bd23
Pan: consolidate what_can_be_automated API 2020-03-21 19:46:39 +01:00
Robin Gareus 60bcefd03d
Pan: remove/consolidate parameter-descriptor 2020-03-21 19:46:38 +01:00
Robin Gareus a44fecb740
Hide hidden Controls in GUI 2020-03-18 18:16:32 +01:00
Paul Davis a4d7b45fe0 remove destructive/tape mode tracks 2020-03-17 16:31:49 -06:00
Robin Gareus 1af5f37e46
Restore visible automation lanes (#7914)
On session re-load only automation lanes with events were displayed,
regardless of visibility state. This allowed for inconsistent
state (menu showed them as visible even if they were not).
2020-02-28 02:25:57 +01:00
Paul Davis be45193f3f fix old bug from 2007 (bbf4175713) in which a return statement was accidentally (presumably) dropped 2020-02-05 12:53:15 -07:00
Ben Loftis 142ce953da Split Select-All-Tracks into 2 appropriately named actions
Existing function select-all-tracks is now renamed select-all-visible-lanes, to match its behavior.

New function select-all-tracks will select all Tracks, as the name implies.

To maintain consistency for those users who actively used select-all-tracks,
  the default shortcut ctrl+t  will continue calling select-all-visible-lanes.
2020-01-22 10:33:15 -06:00
Robin Gareus 81c3bf175a
Keep track/bus number visible when disabling track 2020-01-22 01:45:18 +01:00
Robin Gareus 6914671736
Propagate ::route_active_changed() methods 2020-01-22 01:35:18 +01:00
Ben Loftis d8d737adc4 Make it more obvious when a track is Inactive
Inactive tracks will now hide all controls and display only the track name
 in parenthesis.

Color-change is not sufficient by itself to distinguish an inactive track
 from an active one  (consider the case of just 2 tracks...)
2020-01-20 16:03:22 -06:00
Ben Loftis 30553a2675 Apply some missing widget names 2020-01-12 18:13:47 -06:00
Robin Gareus a92dddda25
Fix automation dropdown menu-item active state
Extra XML/GUI has not been in use since ages.
Automation Lane visibility is saved as GUIObjectState.

This properly marks DropDown Menu items as active when a
Plugin Automation Lane is displayed
2019-12-12 03:02:48 +01:00
Paul Davis a855119bdd rename all Evoral source from .(hpp|cpp)$ to .(h|cc) 2019-11-02 16:32:18 -06:00
Ben Loftis 65c357c0f7 Fix gtk-table-packing error (redundant packing) 2019-09-29 11:30:25 -05:00
Robin Gareus 2ce7239b08
Restore "A"utomation button
This reverts some "not tracks" parts that were
accidentally removed in 468731c
2019-09-27 16:06:29 +02:00
Paul Davis 8ab5db0d67 put back editor track header fader+meters inadvertently removed in previous commit 2019-09-25 13:24:02 -06:00