mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
canvas: remove Box::render() (it should just use Rectangle::render())
This commit is contained in:
parent
85edd83338
commit
dc6a162ca1
2 changed files with 1 additions and 11 deletions
|
|
@ -59,16 +59,7 @@ Box::Box (Item* parent, Duple const & p, Orientation o)
|
|||
, ignore_child_changes (false)
|
||||
{
|
||||
set_position (p);
|
||||
}
|
||||
|
||||
void
|
||||
Box::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
{
|
||||
if (_fill || _outline) {
|
||||
Rectangle::render (area, context);
|
||||
}
|
||||
|
||||
Item::render_children (area, context);
|
||||
set_outline_width (3);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue