summaryrefslogtreecommitdiff
path: root/libs/canvas/root_group.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-22 11:41:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-22 11:41:05 -0400
commit6a5d805b383cd71bb1d0984964439c5ec08e9270 (patch)
treed551b417d1dbc026376207a94b4933a0b824797b /libs/canvas/root_group.cc
parentf0933bf00551ce998ca441aa5611d27702f6e590 (diff)
more canvas refactoring.
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it could theoretically be used by any derived type.
Diffstat (limited to 'libs/canvas/root_group.cc')
-rw-r--r--libs/canvas/root_group.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/root_group.cc b/libs/canvas/root_group.cc
index 015f52bb54..accbcb9b30 100644
--- a/libs/canvas/root_group.cc
+++ b/libs/canvas/root_group.cc
@@ -24,7 +24,7 @@ using namespace std;
using namespace ArdourCanvas;
Root::Root (Canvas* canvas)
- : Layout (canvas)
+ : Container (canvas)
{
#ifdef CANVAS_DEBUG
name = "ROOT";
@@ -34,7 +34,7 @@ Root::Root (Canvas* canvas)
void
Root::compute_bounding_box () const
{
- Layout::compute_bounding_box ();
+ Container::compute_bounding_box ();
if (_bounding_box) {
Rect r (_bounding_box.get());