mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
various work waveview amplitude mgmt; fix playhead cursor drag from timebar click
This commit is contained in:
parent
9727a23111
commit
ec102f94e1
13 changed files with 95 additions and 55 deletions
|
|
@ -75,6 +75,20 @@ Line::set (Duple a, Duple b)
|
|||
DEBUG_TRACE (PBD::DEBUG::CanvasItemsDirtied, "canvas item dirty: line change\n");
|
||||
}
|
||||
|
||||
void
|
||||
Line::set_x (Coord x0, Coord x1)
|
||||
{
|
||||
begin_change ();
|
||||
|
||||
_points[0].x = x0;
|
||||
_points[1].x = x1;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
end_change ();
|
||||
|
||||
DEBUG_TRACE (PBD::DEBUG::CanvasItemsDirtied, "canvas item dirty: line change\n");
|
||||
}
|
||||
|
||||
void
|
||||
Line::set_x0 (Coord x0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue