mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
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:
parent
47b51a8924
commit
fa2ca97d77
3 changed files with 14 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue