mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
Canvas: change LineSet::add() to ::add_line()
Preparation for virtualization of Item::add()
This commit is contained in:
parent
539e1a1f1b
commit
b90332b439
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ public:
|
|||
void set_extent (Distance);
|
||||
Distance extent() const { return _extent; }
|
||||
|
||||
void add (Coord, Distance, Gtkmm2ext::Color);
|
||||
void add_line (Coord, Distance, Gtkmm2ext::Color);
|
||||
void clear ();
|
||||
|
||||
struct Line {
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ LineSet::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
|||
}
|
||||
|
||||
void
|
||||
LineSet::add (Coord y, Distance width, Gtkmm2ext::Color color)
|
||||
LineSet::add_line (Coord y, Distance width, Gtkmm2ext::Color color)
|
||||
{
|
||||
begin_change ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue