projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use PBD::to_string from pbd/string_convert.h in MeterStrip class
[ardour.git]
/
libs
/
canvas
/
root_group.cc
diff --git
a/libs/canvas/root_group.cc
b/libs/canvas/root_group.cc
index cded570b2c900151ffd31ddb54b05a337bd58370..d9249a2c890db69cf09aee2f98a8674c61ddc65a 100644
(file)
--- a/
libs/canvas/root_group.cc
+++ b/
libs/canvas/root_group.cc
@@
-23,20
+23,21
@@
using namespace std;
using namespace ArdourCanvas;
using namespace std;
using namespace ArdourCanvas;
-Root
Group::RootGroup
(Canvas* canvas)
- :
Group
(canvas)
+Root
::Root
(Canvas* canvas)
+ :
Container
(canvas)
{
#ifdef CANVAS_DEBUG
name = "ROOT";
{
#ifdef CANVAS_DEBUG
name = "ROOT";
-#endif
+#endif
}
void
}
void
-Root
Group
::compute_bounding_box () const
+Root::compute_bounding_box () const
{
{
-
Group
::compute_bounding_box ();
+
Container
::compute_bounding_box ();
if (_bounding_box) {
if (_bounding_box) {
- _canvas->request_size (Duple (_bounding_box.get().width (), _bounding_box.get().height ()));
+ Rect r (_bounding_box);
+ _canvas->request_size (Duple (r.width (), r.height ()));
}
}
}
}