13
0
Commit Graph

202 Commits

Author SHA1 Message Date
506b478fe7 NO-OP, just cleanup & scope 2017-06-17 18:29:26 +02:00
fec5aec9a0 Fix TrackView selection after re-order.
because reordering a TreeView [pragmatically] does not retain selection.
2017-06-17 18:29:23 +02:00
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
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
f77540120c Remove Cruft 2017-06-17 15:52:03 +02:00
1d28665f86 Use Stripable::Sorter in GUI consistently. 2017-06-17 04:36:39 +02:00
7b2063d62d remove misc. debug output 2017-05-08 10:41:12 +01:00
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
dc0139d4af use CoreSelection for track selection 2017-05-05 18:56:25 +01:00
3aefd0e744 consolidate context-menu popup methods 2017-03-16 02:36:48 +01:00
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
9de5c61b9e better solution of 3c25d26e9 2017-02-21 12:25:57 +01:00
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
15eb6f716d fix thinko in prev commit 2017-02-20 21:52:13 +01:00
4ece934e66 Fix iterator off-by-one: Allow to move top-most track. via ctrl up/down 2017-02-20 21:37:50 +01:00
0f485ffd6b reinstate ensure-time-axis-visible after move-selected-tracks 2017-02-13 22:22:53 +01:00
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
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
353eb5601c Don't allow to select VCAs in the route-list 2017-01-31 20:42:33 +01:00
34da2896c6 Keep tracks visible when re-ordering them in the editor 2017-01-29 09:34:09 +01:00
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
e5aa0d774e use RAII for class-wide PresentationInfo::Change signal, along with properties to describe what changed 2017-01-27 22:17:53 +01:00
0808b87138 Add GUI part to immediately fan-out multi-out instruments on track creation 2017-01-21 00:40:18 +01:00
48da03e301 push sorted Stripable order back to PI (for control surfaces) 2017-01-18 05:14:48 +01:00
94a57e64f6 fix route ordering (and related possible crash on re-order) 2017-01-06 18:41:51 +01:00
851cdf26c9 Display VCAs at the end of the Track/Bus list 2016-12-22 01:38:55 +01:00
0053abbaae backport/minimize difference to mixbus branch 2016-12-21 12:14:44 +01:00
b63af3162e Set session dirty if tracks are reordered by user. 2016-11-07 08:29:34 -08:00
932cc4d347 One more piece to the moving master puzzle. 2016-11-06 21:59:33 -08:00
1457050d7a Fix Drifting Master hopefully for real this time. 2016-11-04 08:39:41 -07:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
2afaa51717 remove pointless version of Stripable::set_presentation_order() 2016-07-12 09:20:50 -04:00
da7d7f9502 many changes associated with rationalizing selection flow 2016-07-06 13:39:10 -04:00
8ceab4e193 make sure editor can follow visibility changes for VCAs 2016-06-10 15:00:43 -04:00
53ba6f1121 EditorRoutes needs to connect to the right property change signal. 2016-06-10 13:57:19 -04:00
df09d80bd3 EditorRoutes needs to respond to PropertyChanged(selected) 2016-06-10 13:57:19 -04:00
393d69c7a0 listen for gui_changed() signal from all Stripables, not just Routes 2016-06-08 11:03:13 -04:00
5fddbdd495 ensure that newly-added tracks are displayed in the editor 2016-06-06 14:44:58 -04:00
a0f0bdc063 try to keep editor+mixer treemodels in sync 2016-06-06 12:58:48 -04:00
20d85384c1 there is no remote model choice anymore - ordering is determined by the GUI 2016-06-06 12:04:49 -04:00
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
8342d4d9e6 remove unused sort object 2016-06-05 16:33:02 -04:00
23f29a89ce use PresentationInfo API to mark Stripable elements hidden (from editor) 2016-06-05 16:33:02 -04:00
b85911d252 update use of PresentationInfo/Stripable API 2016-06-05 16:33:01 -04:00
9d3aba30c4 Stripable signals moved to PresentationInfo 2016-06-05 16:33:01 -04:00
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
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
d30266dfc3 use new record safe control in GUI 2016-05-31 15:30:45 -04:00
482873760c initial implementation of VCA time axis views 2016-05-31 15:30:44 -04:00
f022784014 convert editor routes code to use Stripable 2016-05-31 15:30:44 -04:00