change Canvas heirarchy and constructors

Items no longer need a parent group (they require a Canvas pointer instead), so all constructors have been rationalized
and have two variants, one with a parent and one with a canvas.

All Items now inherit from Fill and Outline, to banish diagonal inheritance and virtual base classes and all that.

There were zero changes to the Ardour GUI arising from these changes.
This commit is contained in:
Paul Davis 2014-06-12 14:53:44 -04:00
parent 551014240a
commit 590882f3c8
48 changed files with 409 additions and 178 deletions

View file

@ -29,10 +29,11 @@ namespace ArdourCanvas {
class XFadeCurve;
class LIBCANVAS_API Curve : public PolyItem, public Fill, public InterpolatedCurve
class LIBCANVAS_API Curve : public PolyItem, public InterpolatedCurve
{
public:
Curve (Group *);
public:
Curve (Canvas*);
Curve (Group*);
enum CurveFill {
None,