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:
parent
9aee34c9c2
commit
d2a11c8c02
@ -43,6 +43,7 @@ AutomationRegionView::AutomationRegionView(ArdourCanvas::Group*
|
|||||||
}
|
}
|
||||||
|
|
||||||
group->signal_event().connect (mem_fun (this, &AutomationRegionView::canvas_event), false);
|
group->signal_event().connect (mem_fun (this, &AutomationRegionView::canvas_event), false);
|
||||||
|
group->raise_to_top();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -73,9 +74,9 @@ AutomationRegionView::create_line (boost::shared_ptr<ARDOUR::AutomationList> lis
|
|||||||
trackview, *get_canvas_group(), list, &_time_converter));
|
trackview, *get_canvas_group(), list, &_time_converter));
|
||||||
_line->set_colors();
|
_line->set_colors();
|
||||||
_line->set_interpolation(list->interpolation());
|
_line->set_interpolation(list->interpolation());
|
||||||
|
_line->set_height ((uint32_t)rint(trackview.current_height() - NAME_HIGHLIGHT_SIZE));
|
||||||
_line->show();
|
_line->show();
|
||||||
_line->show_all_control_points();
|
_line->show_all_control_points();
|
||||||
_line->set_height ((uint32_t)rint(trackview.current_height() - NAME_HIGHLIGHT_SIZE));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
@ -104,7 +104,9 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro
|
|||||||
mem_fun (_editor, &PublicEditor::canvas_automation_track_event),
|
mem_fun (_editor, &PublicEditor::canvas_automation_track_event),
|
||||||
_base_rect, this));
|
_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")))));
|
hide_button.add (*(manage (new Gtk::Image (::get_icon("hide")))));
|
||||||
|
|
||||||
@ -151,7 +153,7 @@ AutomationTimeAxisView::AutomationTimeAxisView (Session& s, boost::shared_ptr<Ro
|
|||||||
shortened = true;
|
shortened = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
plugname = new Label (pname);
|
plugname = new Label (pname);
|
||||||
plugname->set_name (X_("TrackPlugName"));
|
plugname->set_name (X_("TrackPlugName"));
|
||||||
plugname->show();
|
plugname->show();
|
||||||
name_label.set_name (X_("TrackParameterName"));
|
name_label.set_name (X_("TrackParameterName"));
|
||||||
@ -594,7 +596,6 @@ AutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* /*item*/, GdkE
|
|||||||
_session.set_dirty ();
|
_session.set_dirty ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
AutomationTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
|
AutomationTimeAxisView::cut_copy_clear (Selection& selection, CutCopyOp op)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user