13
0

Canvas: change LineSet::add() to ::add_line()

Preparation for virtualization of Item::add()
This commit is contained in:
Paul Davis 2020-05-22 08:44:03 -06:00
parent 539e1a1f1b
commit b90332b439
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ public:
void set_extent (Distance); void set_extent (Distance);
Distance extent() const { return _extent; } Distance extent() const { return _extent; }
void add (Coord, Distance, Gtkmm2ext::Color); void add_line (Coord, Distance, Gtkmm2ext::Color);
void clear (); void clear ();
struct Line { struct Line {

View File

@ -131,7 +131,7 @@ LineSet::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
} }
void void
LineSet::add (Coord y, Distance width, Gtkmm2ext::Color color) LineSet::add_line (Coord y, Distance width, Gtkmm2ext::Color color)
{ {
begin_change (); begin_change ();