]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/piano-pedal-bracket.cc
Issue 5084: Create Bracket class
[lilypond.git] / lily / piano-pedal-bracket.cc
index b47e5e3b6deee146c2f20a51d49c05353064273d..d13f56414f4f52c3f8939f6b7c306a94360477d9 100644 (file)
@@ -20,7 +20,7 @@
 #include "stencil.hh"
 #include "spanner.hh"
 #include "item.hh"
-#include "tuplet-bracket.hh"
+#include "bracket.hh"
 #include "axis-group-interface.hh"
 
 struct Piano_pedal_bracket
@@ -89,11 +89,9 @@ Piano_pedal_bracket::print (SCM smob)
   if (!span_points.is_empty ()
       && span_points.length () > 0.001)
     {
-      m = Tuplet_bracket::make_bracket (me, Y_AXIS,
-                                        Offset (span_points.length (), 0),
-                                        height,
-                                        Interval (),
-                                        flare, shorten);
+      m = Bracket::make_bracket (
+        me, Y_AXIS, Offset (span_points.length (), 0), height,
+        Interval (), flare, shorten);
     }
   m.translate_axis (span_points[LEFT]
                     - me->relative_coordinate (common, X_AXIS), X_AXIS);