13
0

Add Note::set (Rect) for optimisation purposes (minimise begin/end changes)

This commit is contained in:
nick_m 2016-06-25 00:04:04 +10:00
parent 71ed5865f5
commit 39692eed66
2 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,12 @@ Note::hide ()
_rectangle->hide ();
}
void
Note::set (Rect rect)
{
_rectangle->set (rect);
}
void
Note::set_x0 (Coord x0)
{

View File

@ -46,6 +46,7 @@ public:
ArdourCanvas::Coord x1 () const;
ArdourCanvas::Coord y1 () const;
void set (ArdourCanvas::Rect);
void set_x0 (ArdourCanvas::Coord);
void set_y0 (ArdourCanvas::Coord);
void set_x1 (ArdourCanvas::Coord);