Canvas: change LineSet::add() to ::add_line()
Preparation for virtualization of Item::add()
This commit is contained in:
parent
539e1a1f1b
commit
b90332b439
@ -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 {
|
||||||
|
@ -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 ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user