make selected marker line resize as canvas size changes

git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2752 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-12-08 22:51:23 +00:00
parent 47b51a8924
commit fa2ca97d77
3 changed files with 14 additions and 0 deletions

View file

@ -293,6 +293,15 @@ void Marker::reparent(ArdourCanvas::Group & parent)
_parent = &parent;
}
void
Marker::set_line_length (double len)
{
if (line) {
line_points->back().set_y (len);
line->property_points() = *line_points;
}
}
void
Marker::add_line (ArdourCanvas::Group* group, double initial_height)
{