mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +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)
|
, ignore_child_changes (false)
|
||||||
{
|
{
|
||||||
set_position (p);
|
set_position (p);
|
||||||
}
|
set_outline_width (3);
|
||||||
|
|
||||||
void
|
|
||||||
Box::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
|
||||||
{
|
|
||||||
if (_fill || _outline) {
|
|
||||||
Rectangle::render (area, context);
|
|
||||||
}
|
|
||||||
|
|
||||||
Item::render_children (area, context);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,6 @@ public:
|
||||||
void set_homogenous (bool);
|
void set_homogenous (bool);
|
||||||
|
|
||||||
void compute_bounding_box () const;
|
void compute_bounding_box () const;
|
||||||
void render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Orientation orientation;
|
Orientation orientation;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue