]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/percent-repeat-item.cc
* input/regression/beam-quanting-horizontal.ly: update texidoc
[lilypond.git] / lily / percent-repeat-item.cc
index 68d3bd6c1fb078a65d0ec7326aaba53589d7e140..2dbffcff3593eb0f24a7399d0ec08c1fe63b187c 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 2001--2002  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2001--2003  Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 #include <math.h>
@@ -44,15 +44,15 @@ Percent_repeat_item_interface::x_percent (Grob *me, int count,
 
   for (int i  = count; i--;)
     {
-      m.add_at_edge (X_AXIS, RIGHT, s, -slash_neg_kern);
+      m.add_at_edge (X_AXIS, RIGHT, s, -slash_neg_kern,0);
     }
   Molecule d1 = Font_interface::get_default_font (me)->find_by_name ("dots-dot");
   Molecule d2  =  d1;
   d1.translate_axis (0.5, Y_AXIS );
   d2.translate_axis (-0.5, Y_AXIS);
   
-  m.add_at_edge (X_AXIS, LEFT, d1, -dot_neg_kern);
-  m.add_at_edge (X_AXIS, RIGHT, d2, -dot_neg_kern);
+  m.add_at_edge (X_AXIS, LEFT, d1, -dot_neg_kern,0);
+  m.add_at_edge (X_AXIS, RIGHT, d2, -dot_neg_kern,0);
 
   return m;
 }
@@ -77,9 +77,9 @@ Percent_repeat_item_interface::beat_slash (SCM grob)
   return m.smobbed_copy ();
 }
 
-
-
-
+ADD_INTERFACE (Percent_repeat_item_interface,"percent-repeat-interface",
+  "Repeats that look like percent signs",
+  "slope thickness");