mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 06:36:29 +01:00
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:
parent
551014240a
commit
590882f3c8
48 changed files with 409 additions and 178 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue