]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ambitus.cc
* lily/ambitus-engraver.cc (finalize): use grob_array. This fixes
[lilypond.git] / lily / ambitus.cc
index bdab636b6fd58b667efcddc1319e70904ca39153..2d88f61eae8e7ec66d987a6c0eaeb207e606ecb3 100644 (file)
@@ -30,7 +30,7 @@ Ambitus::print (SCM smob)
       && heads.size () > 1)
     {
       Grob *common
-       = common_refpoint_of_array (Link_array__Grob_ (heads.begin (),
+       = common_refpoint_of_array (vector<Grob*> (heads.begin (),
                                                       heads.begin () + 2),
                                    me, Y_AXIS);
 
@@ -51,9 +51,9 @@ Ambitus::print (SCM smob)
 
       if (pmin < pmax)
        {
-         Real linethickness = me->layout ()->get_dimension (ly_symbol2scm ("linethickness"))
+         Real linethickness = me->layout ()->get_dimension (ly_symbol2scm ("line-thickness"))
            * robust_scm2double (me->get_property ("thickness"), 1.0);
-         Real blotdiameter = me->layout ()->get_dimension (ly_symbol2scm ("blotdiameter"));
+         Real blotdiameter = me->layout ()->get_dimension (ly_symbol2scm ("blot-diameter"));
          Interval x_extent = 0.5 * linethickness * Interval (-1, 1);
          Interval y_extent = Interval (pmin, pmax);
          Box line_box (x_extent, y_extent);
@@ -70,4 +70,9 @@ Ambitus::print (SCM smob)
 
 ADD_INTERFACE (Ambitus, "ambitus-interface",
               "The line between note heads for a pitch range.",
-              "thickness note-heads join-heads");
+
+              /* props */
+              "join-heads "
+              "note-heads "
+              "thickness "
+              );