13
0

Fix stacking of automation region views.

git-svn-id: svn://localhost/ardour2/branches/3.0@5896 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-10-23 20:17:41 +00:00
parent 9aee34c9c2
commit d2a11c8c02
2 changed files with 6 additions and 4 deletions

View File

@ -43,6 +43,7 @@ AutomationRegionView::AutomationRegionView(ArdourCanvas::Group*
}
group->signal_event().connect (mem_fun (this, &AutomationRegionView::canvas_event), false);
group->raise_to_top();
}
void
@ -73,9 +74,9 @@ AutomationRegionView::create_line (boost::shared_ptr<ARDOUR::AutomationList> lis
trackview, *get_canvas_group(), list, &_time_converter));
_line->set_colors();
_line->set_interpolation(list->interpolation());
_line->set_height ((uint32_t)rint(trackview.current_height() - NAME_HIGHLIGHT_SIZE));
_line->show();
_line->show_all_control_points();
_line->set_height ((uint32_t)rint(trackview.current_height() - NAME_HIGHLIGHT_SIZE));
}
bool

View File

@ -104,7 +104,9 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro
mem_fun (_editor, &PublicEditor::canvas_automation_track_event),
_base_rect, this));
// _base_rect->lower_to_bottom();
if (!a) {
_base_rect->lower_to_bottom();
}
hide_button.add (*(manage (new Gtk::Image (::get_icon("hide")))));
@ -151,7 +153,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro
shortened = true;
}
plugname = new Label (pname);
plugname = new Label (pname);
plugname->set_name (X_("TrackPlugName"));
plugname->show();
name_label.set_name (X_("TrackParameterName"));
@ -594,7 +596,6 @@ AutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* /*item*/, GdkE
_session.set_dirty ();
}
bool
AutomationTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
{