]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/measure-grouping-spanner.cc
Run `make grand-replace'.
[lilypond.git] / lily / measure-grouping-spanner.cc
index 9918b5051b05a2c81e42e6d0c9282000f98e09ad..48d00ded04f503feb57bfe52377e2d199c2b851f 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2002--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2002--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "measure-grouping-spanner.hh"
@@ -38,21 +38,22 @@ Measure_grouping::print (SCM grob)
     TODO: use line interface
   */
   if (which == ly_symbol2scm ("bracket"))
-    {
-      m = Lookup::bracket (X_AXIS, iv, t, -height, t);
-    }
+    m = Lookup::bracket (X_AXIS, iv, t, -height, t);
   else if (which == ly_symbol2scm ("triangle"))
-    {
-      m = Lookup::triangle (iv, t, height);
-    }
+    m = Lookup::triangle (iv, t, height);
 
   m.align_to (Y_AXIS, DOWN);
   m.translate_axis (- me->relative_coordinate (common, X_AXIS), X_AXIS);
   return m.smobbed_copy ();
 }
 
-ADD_INTERFACE (Measure_grouping, "measure-grouping-interface",
-              "This object indicates groups of beats. "
-              "Valid choices for @code{style} are @code{bracket} and @code{triangle}.",
-              "thickness style height");
+ADD_INTERFACE (Measure_grouping,
+              "This object indicates groups of beats.  Valid choices for"
+              " @code{style} are @code{bracket} and @code{triangle}.",
+
+              /* properties */
+              "thickness "
+              "style "
+              "height "
+              );