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
Robin Gareus
6815dc7ead
towards an Instrument Setup/Replace workflow
2016-05-19 16:29:39 +02:00
Robin Gareus
433f18049b
skip updating editor-route display when closing the session
2016-05-03 14:27:48 +02:00
Paul Davis
eedeb4949d
add const_cast to avoid compiler warnings from apple gcc
2016-02-22 15:31:25 -05:00
Paul Davis
9e5b7db89f
first compiling, mostly working version of group controls changes
2016-01-22 11:58:31 -05:00
André Nusser
7a846b7e6d
Make capitalization consistent and other minor spelling corrections.
2015-12-01 00:39:35 +01:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
André Nusser
71f6f982e3
Fixed spelling.
2015-09-30 14:43:02 -04:00
André Nusser
6fdd3f47ac
Make all the context menu entries of the track list work.
2015-09-30 14:43:02 -04:00
Tim Mayberry
1d42ed077e
Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
...
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04:00
Robin Gareus
0e85408c59
cleanup display suspend.
2015-04-30 19:19:31 +02:00
Robin Gareus
e3375c309a
suspend editor redisplay during batch changes
...
(major speed-up when changing all meters)
2015-04-30 18:01:30 +02:00
Robin Gareus
0c468dc379
add more contexts for SLA.
2015-04-05 00:44:03 +02:00
Robin Gareus
6d531b82e0
add context to single-letter translatable
2015-04-05 00:17:53 +02:00
Valeriy Kamyshniy
5001a680fc
[Summary] Sort the routes of session before creating time axises unconditionally. This will keep tracks sorted even in case a new session created from template.
...
Conflicts:
gtk2_ardour/editor_routes.cc
2015-04-02 16:32:28 -04:00
Paul Davis
11a702149e
avoid possible shared remote control IDs in large (>317 track) session
2015-03-16 13:00:09 -05:00
nick_m
bf72a02f74
Fix incorrect track ordering when creating a session from a template
...
(supplied order keys are correct).
This really shouldn't be needed, but historically there have been races
between the treeview and the editor order keys.
Interesting to note that there have been no reported ordering bugs when
loading sessions.
2015-03-15 02:57:39 +11:00
nick_m
1a6bacb1f0
Don't mess with the track selection at all from the editor route list
...
when adding tracks (thinko in last commit).
2015-03-13 04:01:55 +11:00
nick_m
9ec393422f
Add new routes to selection in the editor, rather than the editor
...
route list.
Fixes new tracks not being selected.
Also begin selection op history when adding routes.
2015-03-13 02:47:16 +11:00
Paul Davis
cc7f9d7f46
fix up recent cherry-picks from waves' tracks
2015-02-13 17:08:25 -05:00
Paul Davis
236f549caa
insanely complex fixes for dragging to and from the drop zone.
...
This probably breaks some of ardour's functionality (e.g. layered mode), but seems to
be either just right or very close to it for tracks
Conflicts:
gtk2_ardour/editor_routes.cc
2015-02-13 17:00:30 -05:00
nick_m
7a3662bc14
Fix missing selection undo for track header click and route list select.
2015-01-13 21:41:30 +11:00
Paul Davis
99cfd00e86
remove unnecessary scoping
2014-12-26 13:04:48 -05:00
Robin Gareus
c6a3d6bc48
small round of compiler warning fixes
2014-10-23 03:43:04 +02:00
Robin Gareus
5462294629
remove debug message
2014-09-07 20:42:50 +02:00
Robin Gareus
27631e7c7f
fix (auto-expand) typo in f23f379b3
2014-09-07 20:33:11 +02:00
Robin Gareus
4167e83972
NOOP, re-indent, remove trailing whitespace, sort includes
2014-09-07 20:23:50 +02:00
Robin Gareus
f23f379b37
don't loose a redraw.
...
This more or less obsoletes the DisplaySuspender.
While RAII is nice, the DisplaySuspender cannot be
used from outside gtk2_ardour eg Mute/Solo signals
notifications from libardour (which don't originate
from the GUI).
The DisplaySuspender is still useful, because it
explicitly disables re-display and forces a single
expose at the end.
2014-09-07 20:23:50 +02:00
Robin Gareus
78f0007d54
safe EditorRoutes::redisplay()
2014-09-06 22:01:39 +02:00
Robin Gareus
bcd2e8d5e6
idle update editor TreeView
...
dramatic speedup for solo & route toggle.
2014-09-06 13:10:47 +02:00
Robin Gareus
3a75fab244
speed up session load (display updates)
2014-09-06 12:52:29 +02:00
David Robillard
885f1c71ec
Remove unused variables (fix warnings).
2014-08-31 17:54:16 -04:00
Ben Loftis
74f313dd6b
Rationalize ArdourButton and lots of associated theming issues.
...
ArdourButtons now have a "pushed" animation.
The gradient is now implemented in the button, rather than providing 2 colors in the theme, which was burdensome.
Lots of code cleanup in ArdourButton. Removed several unnecessary flags.
Refactor more stuff into route_ui.
2014-08-22 11:51:20 -05:00
Robin Gareus
c52cb37bf2
suspend route redisplay for (rec-en, solo, mute and monitor) batch changes
2014-06-29 02:52:56 +02:00
Robin Gareus
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
Paul Davis
5d6dc388f7
fix some confusion when redrawing editor/mixer track/strip displays after track/bus deletion
...
The code relied on the idea that the order-key resync that occurs after deletion would change the order keys and thus cause
a redisplay. But since both the editor and mixer can initiate an order-key resync, the other window's resync will actually
do nothing (the order keys will already be correct). This led to the incorrect placement of material in the tracks canvas,
because the first resync triggered a redisplay while the route still existed, and then the second resync didn't cause a
redisplay (repositioning) but the canvas elements representing the track went away.
Fixed by forcing a redisplay in both editor and mixer if a route deletion is believed to be triggering a row deletion
in their underlying data models.
2014-06-20 21:52:24 -04:00