limit automation event density - fixes #5928
[ardour.git] / gtk2_ardour / automation_line.h
index dcd81c8b4eb31a10b29d4e22780ed47111f10dad..67e8fbc52ba46e418df180946de1bad6240dc44b 100644 (file)
@@ -47,6 +47,7 @@ class TimeAxisView;
 class AutomationTimeAxisView;
 class Selectable;
 class Selection;
+class PublicEditor;
 
 
 /** A GUI representation of an ARDOUR::AutomationList */
@@ -183,7 +184,7 @@ public:
                ContiguousControlPoints (AutomationLine& al);
                double clamp_dx (double dx);
                void move (double dx, double dy);
-               void compute_x_bounds ();
+               void compute_x_bounds (PublicEditor& e);
 private:
                AutomationLine& line;
                double before_x;