]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/ambitus.cc
Doc-de: updates from master to NR
[lilypond.git] / lily / ambitus.cc
index 9f1f5e769d501a8ac815a5d122d06db6f55c528d..85fb2978869c338590a47916ae1d4b2d93fcbdb6 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2002--2006 Juergen Reuter <reuter@ipd.uka.de>
+  (c) 2002--2009 Juergen Reuter <reuter@ipd.uka.de>
 */
 
 #include "ambitus.hh"
@@ -24,13 +24,13 @@ Ambitus::print (SCM smob)
   Item *me = (Item *) unsmob_grob (smob);
   Stencil stencil;
 
-  // join heads
+  // FIXME : should be Ambitus_line join heads
   extract_grob_set (me, "note-heads", heads);
   if (to_boolean (me->get_property ("join-heads"))
       && 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);
 
@@ -68,6 +68,11 @@ Ambitus::print (SCM smob)
   return SCM_EOL;
 }
 
-ADD_INTERFACE (Ambitus, "ambitus-interface",
+ADD_INTERFACE (Ambitus,
               "The line between note heads for a pitch range.",
-              "thickness note-heads join-heads");
+
+              /* properties */
+              "join-heads "
+              "note-heads "
+              "thickness "
+              );