-AudioTimeAxisView::set_show_waveforms_recording (bool yn)
-{
- AudioStreamView* asv = audio_view();
-
- if (asv) {
- asv->set_show_waveforms_recording (yn);
- }
-}
-
-void
-AudioTimeAxisView::set_waveform_shape (WaveformShape shape)
-{
- AudioStreamView* asv = audio_view();
-
- if (asv && !ignore_toggle) {
- asv->set_waveform_shape (shape);
- }
-
- map_frozen ();
-}
-
-void
-AudioTimeAxisView::set_waveform_scale (WaveformScale scale)
-{
- AudioStreamView* asv = audio_view();
-
- if (asv && !ignore_toggle) {
- asv->set_waveform_scale (scale);
- }
-
- map_frozen ();
-}
-
-void
-AudioTimeAxisView::add_gain_automation_child ()
-{
- XMLProperty* prop;
- AutomationLine* line;
-
- gain_track = new GainAutomationTimeAxisView (_session,
- _route,
- editor,
- *this,
- parent_canvas,
- _("gain"),
- _route->gain_automation_curve());
-
- line = new AutomationGainLine ("automation gain",
- _session,
- *gain_track,
- *gain_track->canvas_display,
- _route->gain_automation_curve());
-
- line->set_line_color (Config->canvasvar_AutomationLine.get());
-
-
- gain_track->add_line (*line);
-
- add_child (gain_track);
-
- gain_track->Hiding.connect (mem_fun(*this, &AudioTimeAxisView::gain_hidden));
-
- bool hideit = true;
-
- XMLNode* node;
-
- if ((node = gain_track->get_state_node()) != 0) {
- if ((prop = node->property ("shown")) != 0) {
- if (prop->value() == "yes") {
- hideit = false;
- }
- }
- }
-
- if (hideit) {
- gain_track->hide ();
- }
-}
-
-void
-AudioTimeAxisView::add_pan_automation_child ()
-{
- XMLProperty* prop;
-
- pan_track = new PanAutomationTimeAxisView (_session, _route, editor, *this, parent_canvas, _("pan"));
-
- update_pans ();
-
- add_child (pan_track);
-
- pan_track->Hiding.connect (mem_fun(*this, &AudioTimeAxisView::pan_hidden));
-
- ensure_xml_node ();
- bool hideit = true;
-
- XMLNode* node;
-
- if ((node = pan_track->get_state_node()) != 0) {
- if ((prop = node->property ("shown")) != 0) {
- if (prop->value() == "yes") {
- hideit = false;
- }
- }
- }
-
- if (hideit) {
- pan_track->hide ();
- }
-}
-
-void
-AudioTimeAxisView::update_pans ()