convert automation line from Canvas::Curve to Canvas::PolyLine (note: this means there is no actual use of Canvas::Curve now)
This commit is contained in:
parent
a585816f3e
commit
2d389a23d5
@ -94,7 +94,7 @@ AutomationLine::AutomationLine (const string& name, TimeAxisView& tv, ArdourCanv
|
||||
group = new ArdourCanvas::Group (&parent);
|
||||
CANVAS_DEBUG_NAME (group, "region gain envelope group");
|
||||
|
||||
line = new ArdourCanvas::Curve (group);
|
||||
line = new ArdourCanvas::PolyLine (group);
|
||||
CANVAS_DEBUG_NAME (line, "region gain envelope line");
|
||||
line->set_data ("line", this);
|
||||
line->set_outline_width (2.0);
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
#include "canvas/types.h"
|
||||
#include "canvas/group.h"
|
||||
#include "canvas/curve.h"
|
||||
#include "canvas/poly_line.h"
|
||||
|
||||
class AutomationLine;
|
||||
class ControlPoint;
|
||||
@ -174,7 +174,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible
|
||||
|
||||
ArdourCanvas::Group& _parent_group;
|
||||
ArdourCanvas::Group* group;
|
||||
ArdourCanvas::Curve* line; /* line */
|
||||
ArdourCanvas::PolyLine* line; /* line */
|
||||
ArdourCanvas::Points line_points; /* coordinates for canvas line */
|
||||
std::vector<ControlPoint*> control_points; /* visible control points */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user