Commit Graph

224 Commits

Author SHA1 Message Date
Ben Loftis bb99c53cca terminology: change visibility text to 'Cue Window' to match button name 2022-01-31 20:25:06 -06:00
Robin Gareus b68097422a
Reduce and abstract EditorRoutes to a dedicated RouteList 2022-01-27 01:28:50 +01:00
Robin Gareus 5b3eacd421
Make editor independent of EditorRoutes 2022-01-27 01:28:49 +01:00
Robin Gareus dd4b4dc00b
Move PluginSetup callback to Editor
This is unrelated to the sidebar route-list and should never
have been in EditorRoutes.
2022-01-25 06:27:21 +01:00
Robin Gareus bd12509910
Add trigger-page visibility to "Tracks & Busses" TV 2022-01-01 16:52:55 +01:00
Paul Davis 9d69fa3820 another day or two's work on timeline type conversion 2021-08-13 12:51:29 -06:00
Robin Gareus bf64852fc2
Remove volatile/atomic re-display flags in GUI thread
Atomic operations are not needed here, since the GUI
is single threaded.
2021-03-22 13:45:29 +01:00
Paul Davis 2579e70f46 remove debug output 2020-01-13 23:19:52 -07:00
Paul Davis 9f474953fd prevent everything except the name column from changing selection in EditorRoutes 2020-01-13 23:13:14 -07:00
Paul Davis 659683c686 store some/most of the TreeViewColumn pointers for EditorRoutes in the parent object 2020-01-13 23:13:14 -07:00
Robin Gareus 8a9b38e540
Remove remnants of hack from 9f3f3738e7
This fixes multiple selection. The original code using
"selection_countdown" is no longer in place. There's no "counter" to arm.

Shift/Tab name edit works regardless.
"s/m/r" solo/mute/rec shortcuts in the treeview have been discontinued
since a long time as well. Keyboard shortcuts are per window, regardless
of grab_focus()

PS. This change makes it easier for a user to start a drag/drop
operation of multiple regions. That currently assert()s, only
the first selected region is used.
2019-08-13 00:52:21 +02:00
Robin Gareus 12da3016e6
Remove unused EditorRoutes selection filter 2019-08-12 19:31:42 +02:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
Copyright-holder and year information is extracted from git log.

git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus 3bc9281c31
Fix some Gtk::Menu related memory leaks
A Gtk::manage()d widget will be deleted when its parent container
is destroyed. Top-level context menus are not inside a container and
hence need to be manually deallocated.

This adds explicit delete calls for menus where there is a
member variable reference to the Menu.
2019-03-07 23:50:32 +01:00
Len Ovens 0140b24248 Change get_routes to get_routelist where appropriate. 2018-11-07 17:00:16 -08:00
Robin Gareus 54f0f37c52 Fix context-menu item "bus" = audio and midi busses.
Hide/show logic uses "not track".
This results in matching both audio and midi busses.
2018-10-02 21:28:49 +02:00
Robin Gareus bc18c54c73 Quick hack to test engine vari-speed (2/2) 2017-10-29 20:04:06 +01:00
Paul Davis 30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Robin Gareus 7c6800fb88 Hide TrackList "Active" toggle for VCAs 2017-08-08 01:49:05 +02:00
Robin Gareus 8642e916db More RouteTAV -> StripableTAV updates (Editor List) 2017-08-06 23:49:12 +02:00
Robin Gareus 0ae9cda51d Allow to select VCAs 2017-08-06 22:17:42 +02:00
Robin Gareus 5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Robin Gareus 506b478fe7 NO-OP, just cleanup & scope 2017-06-17 18:29:26 +02:00
Robin Gareus fec5aec9a0 Fix TrackView selection after re-order.
because reordering a TreeView [pragmatically] does not retain selection.
2017-06-17 18:29:23 +02:00
Robin Gareus ea1669aa00 Remove delayed selection which causes duplicate selection actifacts.
The first click to select a new stripable may actually un-select strip.
counting and ignoring this leads to strange behavior.
Also when the selection_counter hit zero, VCAs were not ignored.

whatever this workaround was good for, it's more trouble than it's worth.
As side-effect this also improves DnD + Gtk::Entry behavior with stock GTK.
2017-06-17 18:29:19 +02:00
Robin Gareus cfe63b7b15 Simplify route-display TreeView.
There's no TargetEntry receiver for the custom DnDTreeView<Route> object.
We can just use a default Gtk::TreeView.
2017-06-17 18:29:15 +02:00
Robin Gareus f77540120c Remove Cruft 2017-06-17 15:52:03 +02:00
Robin Gareus 1d28665f86 Use Stripable::Sorter in GUI consistently. 2017-06-17 04:36:39 +02:00
Paul Davis 7b2063d62d remove misc. debug output 2017-05-08 10:41:12 +01:00
Paul Davis d51049f343 when a Route is removed, don't bother triggering a sync-presentation-info-from-treeview because it isn't necessary 2017-05-08 10:40:27 +01:00
Paul Davis dc0139d4af use CoreSelection for track selection 2017-05-05 18:56:25 +01:00
Robin Gareus 3aefd0e744 consolidate context-menu popup methods 2017-03-16 02:36:48 +01:00
Paul Davis f64441aa58 remove method no longer needed
Editor::track_selection_changed() is now invoked by EditorRoutes::sync_treeview_from_presentation_info(),
AFTER the Selection has been updated
2017-02-26 18:24:56 +01:00
Robin Gareus 9de5c61b9e better solution of 3c25d26e9 2017-02-21 12:25:57 +01:00
Robin Gareus 3c25d26e91 Fix potential crash at exit/close.
~DisplaySuspender's  PresentationInfo::unsuspend_change_signal
can try to update Stripable PresentationInfo for a session that's
no longer present.
2017-02-21 01:35:18 +01:00
Robin Gareus 15eb6f716d fix thinko in prev commit 2017-02-20 21:52:13 +01:00
Robin Gareus 4ece934e66 Fix iterator off-by-one: Allow to move top-most track. via ctrl up/down 2017-02-20 21:37:50 +01:00
Paul Davis 0f485ffd6b reinstate ensure-time-axis-visible after move-selected-tracks 2017-02-13 22:22:53 +01:00
Paul Davis bd7507590e new implementation of move-selected-tracks
This does not modify the editor treeview/treemodel at all
but instead works directly on the PresentationInfo order
data. Likely needs more testing etc.
2017-02-13 22:10:18 +01:00
Robin Gareus 6e09e72f11 Skip no-change re-ordering of tracks/busses
e.g. move top-most track up, bottom-most track down.
2017-01-31 20:42:33 +01:00
Robin Gareus 353eb5601c Don't allow to select VCAs in the route-list 2017-01-31 20:42:33 +01:00
Robin Gareus 34da2896c6 Keep tracks visible when re-ordering them in the editor 2017-01-29 09:34:09 +01:00
Paul Davis cc82fc675b remove editor/mixer selection change signals; make editor and mixer use PresentationInfo::Change more correctly; make Selection a bit smarter when setting track selection 2017-01-27 22:17:53 +01:00
Paul Davis e5aa0d774e use RAII for class-wide PresentationInfo::Change signal, along with properties to describe what changed 2017-01-27 22:17:53 +01:00
Robin Gareus 0808b87138 Add GUI part to immediately fan-out multi-out instruments on track creation 2017-01-21 00:40:18 +01:00
Robin Gareus 48da03e301 push sorted Stripable order back to PI (for control surfaces) 2017-01-18 05:14:48 +01:00
Robin Gareus 94a57e64f6 fix route ordering (and related possible crash on re-order) 2017-01-06 18:41:51 +01:00
Robin Gareus 851cdf26c9 Display VCAs at the end of the Track/Bus list 2016-12-22 01:38:55 +01:00
Robin Gareus 0053abbaae backport/minimize difference to mixbus branch 2016-12-21 12:14:44 +01:00
Len Ovens b63af3162e Set session dirty if tracks are reordered by user. 2016-11-07 08:29:34 -08:00