diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-11 22:54:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-11 22:54:12 -0400 |
commit | 7caf517b27aa93df14519840224104fb8a1f12c1 (patch) | |
tree | 8310fd036083803c1da3472400be8522f4cfa512 /gtk2_ardour/automation_line.h | |
parent | ee1f0520a820fb829ef3c1dbfcbb57e37242c2c8 (diff) |
add (bezier) curves to canvas, use for automation lines; fix issue with rectangles missing their upper line segment; more cairo canvas fixes
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index 2b41647fe0..816105b1e5 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -38,7 +38,7 @@ #include "canvas/types.h" #include "canvas/group.h" -#include "canvas/line.h" +#include "canvas/curve.h" class AutomationLine; class ControlPoint; @@ -48,9 +48,6 @@ class AutomationTimeAxisView; class Selectable; class Selection; -namespace ArdourCanvas { - class Rectangle; -} /** A GUI representation of an ARDOUR::AutomationList */ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible @@ -177,7 +174,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible ArdourCanvas::Group& _parent_group; ArdourCanvas::Group* group; - ArdourCanvas::PolyLine* line; /* line */ + ArdourCanvas::Curve* line; /* line */ ArdourCanvas::Points line_points; /* coordinates for canvas line */ std::vector<ControlPoint*> control_points; /* visible control points */ |