Add Note::set (Rect) for optimisation purposes (minimise begin/end changes)
This commit is contained in:
parent
71ed5865f5
commit
39692eed66
@ -97,6 +97,12 @@ Note::hide ()
|
|||||||
_rectangle->hide ();
|
_rectangle->hide ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
Note::set (Rect rect)
|
||||||
|
{
|
||||||
|
_rectangle->set (rect);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Note::set_x0 (Coord x0)
|
Note::set_x0 (Coord x0)
|
||||||
{
|
{
|
||||||
|
@ -46,6 +46,7 @@ public:
|
|||||||
ArdourCanvas::Coord x1 () const;
|
ArdourCanvas::Coord x1 () const;
|
||||||
ArdourCanvas::Coord y1 () const;
|
ArdourCanvas::Coord y1 () const;
|
||||||
|
|
||||||
|
void set (ArdourCanvas::Rect);
|
||||||
void set_x0 (ArdourCanvas::Coord);
|
void set_x0 (ArdourCanvas::Coord);
|
||||||
void set_y0 (ArdourCanvas::Coord);
|
void set_y0 (ArdourCanvas::Coord);
|
||||||
void set_x1 (ArdourCanvas::Coord);
|
void set_x1 (ArdourCanvas::Coord);
|
||||||
|
Loading…
Reference in New Issue
Block a user