Commit graph

193 commits

Author SHA1 Message Date
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
Len Ovens
932cc4d347 One more piece to the moving master puzzle. 2016-11-06 21:59:33 -08:00
Len Ovens
1457050d7a Fix Drifting Master hopefully for real this time. 2016-11-04 08:39:41 -07:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis
2afaa51717 remove pointless version of Stripable::set_presentation_order() 2016-07-12 09:20:50 -04:00
Paul Davis
da7d7f9502 many changes associated with rationalizing selection flow 2016-07-06 13:39:10 -04:00
Paul Davis
8ceab4e193 make sure editor can follow visibility changes for VCAs 2016-06-10 15:00:43 -04:00
Paul Davis
53ba6f1121 EditorRoutes needs to connect to the right property change signal. 2016-06-10 13:57:19 -04:00
Paul Davis
df09d80bd3 EditorRoutes needs to respond to PropertyChanged(selected) 2016-06-10 13:57:19 -04:00
Paul Davis
393d69c7a0 listen for gui_changed() signal from all Stripables, not just Routes 2016-06-08 11:03:13 -04:00
Paul Davis
5fddbdd495 ensure that newly-added tracks are displayed in the editor 2016-06-06 14:44:58 -04:00
Paul Davis
a0f0bdc063 try to keep editor+mixer treemodels in sync 2016-06-06 12:58:48 -04:00
Paul Davis
20d85384c1 there is no remote model choice anymore - ordering is determined by the GUI 2016-06-06 12:04:49 -04:00
Paul Davis
c0e5265b14 don't add routes+VCAs separately to editor routes during startup; merge into single list of Stripables 2016-06-05 16:33:02 -04:00
Paul Davis
8342d4d9e6 remove unused sort object 2016-06-05 16:33:02 -04:00
Paul Davis
23f29a89ce use PresentationInfo API to mark Stripable elements hidden (from editor) 2016-06-05 16:33:02 -04:00
Paul Davis
b85911d252 update use of PresentationInfo/Stripable API 2016-06-05 16:33:01 -04:00
Paul Davis
9d3aba30c4 Stripable signals moved to PresentationInfo 2016-06-05 16:33:01 -04:00
Paul Davis
260058a4a9 move from PresentationInfo::global_order() to PresentationInfo::order, and fix up part of reordering behaviour
Dragging tracks/busses in the editor *below* VCAs still does not work
2016-06-03 15:15:39 -04:00
Paul Davis
6baac7d46f various safety checks for the result of dynamic_cast-ing a TimeAxisView to RouteTimeAxisView
Now that we have VCATimeAxisView, this needed to be done, but it also potentially applied with automation
2016-06-02 08:42:58 -04:00
Paul Davis
d30266dfc3 use new record safe control in GUI 2016-05-31 15:30:45 -04:00
Paul Davis
482873760c initial implementation of VCA time axis views 2016-05-31 15:30:44 -04:00
Paul Davis
f022784014 convert editor routes code to use Stripable 2016-05-31 15:30:44 -04:00
Paul Davis
83052ad18c clean up debug output for OrderKeys 2016-05-31 15:30:42 -04:00
Paul Davis
daab42f209 use Session::notify_presentation_info_changed() rather than emitting Stripable::PresentationInfoChange after editor-based reordering 2016-05-31 15:30:42 -04:00
Paul Davis
e0ff70cf86 first vaguely working version using PresentationInfo
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
Paul Davis
5b5e64d860 remove Route::listening_via_monitor()
This is better tested with direct use of the solo_control and
Config->get_solo_controls_are_listen_controls()
2016-05-31 15:30:41 -04:00
Paul Davis
653ae4acd6 universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
Paul Davis
36784ee94f use route automation control Changed() signals for solo/mute in GUI 2016-05-31 15:30:40 -04:00
Paul Davis
8ce39c891b change sort ordering model in mixer and editor
This allows correct reordering of the mixer "track_model" even
when non-route elements are present.

This isn't really utilized in the Editor at present because we do
not show VCAs there at all, but it will become important in the
future when we represent VCA automation there
2016-05-31 15:30:39 -04:00
Robin Gareus
ac7df69b49 rec-safe GUI 2016-05-24 21:30:33 +02:00
Robin Gareus
6605b52c17 centralize rec-en sensitivity & prepare for rec-safe 2016-05-24 03:01:27 +02:00